wok-6.x annotate codec2/receipt @ rev 22356
Add locustio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 20 21:55:49 2019 +0100 (2019-11-20) |
parents | 3dd240cd9e39 |
children | 7aa14b7a600c |
rev | line source |
---|---|
pascal@21957 | 1 # SliTaz package receipt. |
pascal@21957 | 2 |
pascal@21957 | 3 PACKAGE="codec2" |
pascal@22024 | 4 GITHASH="34292702a68102a70f8367f1feab9f39ef17ce7c" # 2019/10/09 |
pascal@22024 | 5 VERSION="${GITHASH:0:7}" |
pascal@21957 | 6 CATEGORY="multimedia" |
pascal@21957 | 7 SHORT_DESC="An open source low bit rate speech codec" |
pascal@21957 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21957 | 9 LICENSE="LGPL2.1" |
pascal@22024 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@21957 | 11 WEB_SITE="https://github.com/drowe67/codec2" |
pascal@22024 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@21957 | 13 |
pascal@22024 | 14 BUILD_DEPENDS="cmake" |
pascal@21957 | 15 |
pascal@21957 | 16 # Rules to configure and make the package. |
pascal@21957 | 17 compile_rules() |
pascal@21957 | 18 { |
pascal@21957 | 19 sed -i 's| -no-pie||' unittest/CMakeLists.txt |
pascal@21957 | 20 mkdir -p $DESTDIR/usr/share/doc |
pascal@22024 | 21 cp README* COPYING $DESTDIR/usr/share/doc |
pascal@21957 | 22 mkdir build_linux |
pascal@21957 | 23 cd build_linux |
pascal@21957 | 24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@21957 | 25 make DESTDIR=$DESTDIR install |
pascal@21957 | 26 } |
pascal@21957 | 27 |
pascal@21957 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21957 | 29 genpkg_rules() |
pascal@21957 | 30 { |
pascal@21957 | 31 mkdir -p $fs/usr/lib |
pascal@21957 | 32 cp -a $install/usr/bin $fs/usr |
pascal@21957 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@21957 | 34 } |