wok-current rev 20399
Add code2 (speech codec 0.7-3.2 Kb/s)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 16:09:41 2018 +0200 (2018-06-27) |
parents | 9aa658b57a83 |
children | 1db43c525913 |
files | code2-dev/receipt code2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/code2-dev/receipt Wed Jun 27 16:09:41 2018 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="code2-dev" 1.7 +VERSION="3723" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An open source low bit rate speech codec, development files" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="http://rowetel.com/codec2.html" 1.13 +WANTED="code2" 1.14 + 1.15 +DEPENDS="code2 pkg-config" 1.16 + 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib 1.20 + cp -a $install/usr/include $fs/usr 1.21 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/code2/receipt Wed Jun 27 16:09:41 2018 +0200 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="code2" 2.7 +VERSION="3723" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="An open source low bit rate speech codec" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="LGPL2.1" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WEB_SITE="http://rowetel.com/codec2.html" 2.14 +WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/" 2.15 + 2.16 +BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + sed -i 's| -no-pie||' unittest/CMakeLists.txt 2.22 + mkdir build_linux 2.23 + cd build_linux 2.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. 2.25 + make DESTDIR=$DESTDIR install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $install/usr/bin $fs/usr 2.33 + cp -a $install/usr/lib*.so* $fs/usr/lib 2.34 +}