wok view codec2/receipt @ rev 24034
Openssh (8.5p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 09:21:26 2021 +0000 (2021-04-08) |
parents | 314dd7281637 |
children | 7e911016a644 |
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|.*/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 }