wok-6.x view codec2/receipt @ rev 21957

putty: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 10 15:54:14 2019 +0200 (2019-10-10)
parents
children 997d7021a367
line source
1 # SliTaz package receipt.
3 PACKAGE="codec2"
4 VERSION="4121"
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/"
14 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's| -no-pie||' unittest/CMakeLists.txt
20 mkdir -p $DESTDIR/usr/share/doc
21 cp README $DESTDIR/usr/share/doc
22 mkdir build_linux
23 cd build_linux
24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }