wok-6.x view code2/receipt @ rev 21155
updated libcdio, libcdio-dev, and libcdio-utils (0.83 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 30 15:57:49 2019 +0100 (2019-03-30) |
parents | 5de8b3cfc73f |
children | 9fc082ddb2d0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="code2"
4 VERSION="3995"
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://www.rowetel.com/?page_id=452"
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 -p $DESTDIR/usr/share/doc
20 cp README $DESTDIR/usr/share/doc
21 mkdir build_linux
22 cd build_linux
23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }