wok-next view cld2/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }