wok view codec2/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | d79ed38ace18 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="codec2"
4 VERSION="1.2.0"
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/refs/tags/$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 '/tag\//!d;s|.*tag/v*||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
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 $fs/usr/bin
37 cp -a $src/build_linux/src/c2* $fs/usr/bin
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }