wok-next annotate cld2/receipt @ rev 21702

updated gptfdisk (1.0.4 -> 1.0.5)
author Hans-G?nter Theisgen
date Wed Jul 01 14:22:49 2020 +0100 (2020-07-01)
parents b84b01f3048e
children
rev   line source
al@20373 1 # SliTaz package receipt v2.
al@20373 2
al@20373 3 PACKAGE="cld2"
al@20985 4 VERSION="20150820"
al@20373 5 COMMIT="b56fa78"
al@20373 6 CATEGORY="text"
al@20373 7 SHORT_DESC="Compact Language Detector 2"
al@20373 8 MAINTAINER="al.bobylev@gmail.com"
al@20373 9 LICENSE="Apache2"
al@20373 10 WEB_SITE="https://github.com/CLD2Owners/cld2"
al@20373 11
al@20373 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20373 13 WGET_URL="https://github.com/CLD2Owners/cld2/archive/$COMMIT.tar.gz"
al@20373 14
al@21020 15 SPLIT="$PACKAGE-dev"
al@20373 16
al@20373 17 compile_rules() {
al@20373 18 cd internal
al@20373 19 CXXFLAGS="-std=c++98 $CXXFLAGS" sh ./compile_libs.sh || return 1
al@20373 20
al@20373 21 cd $src
al@20373 22 install -Dm755 internal/libcld2.so $install/usr/lib/libcld2.so
al@20373 23 install -Dm755 internal/libcld2_full.so $install/usr/lib/libcld2_full.so
al@20373 24 for header in internal/*.h public/*.h; do
al@20373 25 install -Dm644 "$header" $install/usr/include/cld2/$header
al@20373 26 done
al@20373 27 cook_pick_docs LICENSE README.md
al@20373 28 }
al@20373 29
al@20373 30 genpkg_rules() {
al@20373 31 case $PACKAGE in
al@20373 32 cld2) copy @std;;
al@20373 33 *-dev) copy @dev;;
al@20373 34 esac
al@20373 35 }