wok-current view code2/receipt @ rev 21523
updated nbwmon (20140917 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 17:24:35 2019 +0100 (2019-05-03) |
parents | b2fef50ebad6 |
children |
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/codec2.html"
11 WEB_SITE="https://github.com/drowe67/codec2"
12 WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/"
13 PROVIDE="codec2"
15 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's| -no-pie||' unittest/CMakeLists.txt
21 mkdir -p $DESTDIR/usr/share/doc
22 cp README $DESTDIR/usr/share/doc
23 mkdir build_linux
24 cd build_linux
25 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }