wok view codec2/receipt @ rev 23494
updated python-httplib2 (0.8 -> 0.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:45:46 2020 +0100 (2020-04-06) |
parents | 25f8eb393142 |
children | 6b6d14c9f7e9 |
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 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*archive/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's| -no-pie||' unittest/CMakeLists.txt
25 mkdir -p $DESTDIR/usr/share/doc
26 cp README* COPYING $DESTDIR/usr/share/doc
27 mkdir build_linux
28 cd build_linux
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }