wok-current view opencore-amr/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | c84ff7af1e21 |
children | e171b422f9e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencore-amr"
4 VERSION="0.1.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Adaptive Multi Rate (AMR) speech codec."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://opencore-amr.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/opencore-amr/files/opencore-amr/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/opencore-amr-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix="/usr" \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }