wok view code2/receipt @ 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
children 1db43c525913
line source
1 # SliTaz package receipt.
3 PACKAGE="code2"
4 VERSION="3723"
5 CATEGORY="multimedia"
6 SHORT_DESC="An open source low bit rate speech codec"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://rowetel.com/codec2.html"
11 WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/"
13 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's| -no-pie||' unittest/CMakeLists.txt
19 mkdir build_linux
20 cd build_linux
21 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib*.so* $fs/usr/lib
31 }