wok-next view cld2/receipt @ rev 21678
updated getmail (4.41.0 -> 5.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 13:44:08 2020 +0100 (2020-06-29) |
parents | b84b01f3048e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cld2"
4 VERSION="20150820"
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="$PACKAGE-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 }