wok view codec2/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (18 months ago) |
parents | 0c04fc34847a |
children | fe1b5660fdd1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="codec2"
4 VERSION="1.0.5"
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's| -no-pie||' unittest/CMakeLists.txt
26 mkdir -p $DESTDIR/usr/share/doc
27 cp README* COPYING $DESTDIR/usr/share/doc
28 mkdir build_linux
29 cd build_linux
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/bin
38 cp -a $src/build_linux/src/c2* $fs/usr/bin
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }