wok-next view cld2/receipt @ rev 20737
libav: fix build; python-antlr: using pip; python-apsw: up (3.19.3-r1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:37:22 2018 +0300 (2018-05-29) |
parents | |
children | b84b01f3048e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cld2"
4 VERSION="150821"
5 COMMIT="b56fa78"
6 CATEGORY="text"
7 SHORT_DESC="Compact Language Detector 2"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="Apache2"
10 WEB_SITE="https://github.com/CLD2Owners/cld2"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/CLD2Owners/cld2/archive/$COMMIT.tar.gz"
15 SPLIT="cld2-dev"
17 compile_rules() {
18 cd internal
19 CXXFLAGS="-std=c++98 $CXXFLAGS" sh ./compile_libs.sh || return 1
21 cd $src
22 install -Dm755 internal/libcld2.so $install/usr/lib/libcld2.so
23 install -Dm755 internal/libcld2_full.so $install/usr/lib/libcld2_full.so
24 for header in internal/*.h public/*.h; do
25 install -Dm644 "$header" $install/usr/include/cld2/$header
26 done
27 cook_pick_docs LICENSE README.md
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 cld2) copy @std;;
33 *-dev) copy @dev;;
34 esac
35 }