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