wok annotate code2/receipt @ rev 20400
code2: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 22:28:52 2018 +0300 (2018-06-27) |
parents | 23b1c863c107 |
children | 8d7732e4186f |
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@20399 | 19 mkdir build_linux |
pascal@20399 | 20 cd build_linux |
pascal@20399 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
pascal@20399 | 22 make DESTDIR=$DESTDIR install |
pascal@20399 | 23 } |
pascal@20399 | 24 |
pascal@20399 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20399 | 26 genpkg_rules() |
pascal@20399 | 27 { |
pascal@20399 | 28 mkdir -p $fs/usr/lib |
pascal@20399 | 29 cp -a $install/usr/bin $fs/usr |
al@20400 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20399 | 31 } |