wok-6.x view opencore-amr/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (2022-09-23)
parents e171b422f9e7
children 65ff25c4de90
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://sourceforge.net/projects/opencore-amr"
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 }