<commit_before>#!/bin/bash

# REPLACE ALL THE "xxx" OF THIS FILE WITH THE MODULE NAME
# THEN REMOVE THIS ERROR AND EXIT
error "not configure" && exit -1

# version of your package
VERSION_xxx=${VERSION_xxx:-1.3}

# dependencies of this recipe
DEPS_xxx=()

# url of the package
URL_xxx=http://www.libxxx.org/xxx-$VERSION_xxx.tar.gz

# md5 of the package
MD5_xxx=7176d5f1a0f2683bf1394e0de18c74bb

# default build path
BUILD_xxx=$BUILD_PATH/xxx/$(get_directory $URL_xxx)

# default recipe path
RECIPE_xxx=$RECIPES_PATH/xxx

# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_xxx() {
	true
}

# function called to build the source code
function build_xxx() {
	true
}

# function called after all the compile have been done
function postbuild_xxx() {
	true
}<commit_msg>Add qscintilla recipe<commit_after>#!/bin/bash

# version of your package
VERSION_qscintilla=2.8.4

# dependencies of this recipe
DEPS_qscintilla=()

# url of the package
URL_qscintilla=http://downloads.sourceforge.net/project/pyqt/QScintilla2/QScintilla-${VERSION_qscintilla}/QScintilla-gpl-${VERSION_qscintilla}.tar.gz

# md5 of the package
MD5_qscintilla=28aec903ff48ae541295a4fb9c96f8ea

# default build path
BUILD_qscintilla=$BUILD_PATH/qscintilla/$(get_directory $URL_qscintilla)

# default recipe path
RECIPE_qscintilla=$RECIPES_PATH/qscintilla

# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_qscintilla() {
  true
}

# function called to build the source code
function build_qscintilla() {
  try mkdir -p $BUILD_qscintilla/build
  try cd $BUILD_qscintilla/build

	push_arm

  # configure
  try qmake ../Qt4Qt5/qscintilla.pro

  # build
  try make -j$CORES

  # tweak install path
  sed -i "s|\$(INSTALL_ROOT).*/lib|\$(INSTALL_ROOT)/lib/|" Makefile
  sed -i "s|\$(INSTALL_ROOT).*/include|\$(INSTALL_ROOT)/include/|" Makefile

  # Makefile fails to create include and lib folders if not present
  test -d $DIST_PATH/include || mkdir -p $DIST_PATH/include
  test -d $DIST_PATH/lib || mkdir -p $DIST_PATH/lib

  # install
  export INSTALL_ROOT=$DIST_PATH
  try make install

	pop_arm
}

# function called after all the compile have been done
function postbuild_qscintilla() {
	true
}
{'fraction_non_alphanumeric': 0.09664607237422772, 'fraction_numerical': 0.022506619593998235, 'mean_word_length': 4.768447837150127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6860090', 'n_tokens_mistral': 842, 'n_tokens_neox': 795, 'n_words': 218}