wok annotate code2/receipt @ rev 20401
Add lziprecover
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 11:44:28 2018 +0200 (2018-06-28) |
parents | 1db43c525913 |
children | c8f9323bb442 |
rev | line source |
---|---|
pascal@20399 | 1 # SliTaz package receipt. |
pascal@20399 | 2 |
pascal@20399 | 3 PACKAGE="code2" |
pascal@20399 | 4 VERSION="3723" |
pascal@20399 | 5 CATEGORY="multimedia" |
pascal@20399 | 6 SHORT_DESC="An open source low bit rate speech codec" |
pascal@20399 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20399 | 8 LICENSE="LGPL2.1" |
pascal@20399 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20399 | 10 WEB_SITE="http://rowetel.com/codec2.html" |
pascal@20399 | 11 WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/" |
pascal@20399 | 12 |
pascal@20399 | 13 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev" |
pascal@20399 | 14 |
pascal@20399 | 15 # Rules to configure and make the package. |
pascal@20399 | 16 compile_rules() |
pascal@20399 | 17 { |
pascal@20399 | 18 sed -i 's| -no-pie||' unittest/CMakeLists.txt |
pascal@20401 | 19 mkdir -p $DESTDIR/usr/share/doc |
pascal@20401 | 20 cp README $DESTDIR/usr/share/doc |
pascal@20399 | 21 mkdir build_linux |
pascal@20399 | 22 cd build_linux |
pascal@20401 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@20399 | 24 make DESTDIR=$DESTDIR install |
pascal@20399 | 25 } |
pascal@20399 | 26 |
pascal@20399 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20399 | 28 genpkg_rules() |
pascal@20399 | 29 { |
pascal@20399 | 30 mkdir -p $fs/usr/lib |
pascal@20399 | 31 cp -a $install/usr/bin $fs/usr |
al@20400 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20399 | 33 } |