wok-current view codec2/receipt @ rev 22609
updated codeblocks (10.05 -> 17.12)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 10 09:38:42 2020 +0100 (2020-01-10) |
parents | 997d7021a367 |
children | 25f8eb393142 |
line source
1 # SliTaz package receipt.
3 PACKAGE="codec2"
4 VERSION="0.9.2"
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.gz"
10 WEB_SITE="https://github.com/drowe67/codec2"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="cmake"
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* COPYING $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 }