wok view codec2/receipt @ rev 22101

updated viewnior (1.6 -> 1.7)
author Hans-G?nter Theisgen
date Fri Nov 01 15:17:45 2019 +0100 (2019-11-01)
parents 3dd240cd9e39
children 7aa14b7a600c
line source
1 # SliTaz package receipt.
3 PACKAGE="codec2"
4 GITHASH="34292702a68102a70f8367f1feab9f39ef17ce7c" # 2019/10/09
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="multimedia"
7 SHORT_DESC="An open source low bit rate speech codec"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/drowe67/codec2"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 BUILD_DEPENDS="cmake"
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* COPYING $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 }