wok-6.x annotate opencore-amr/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | 7ae80fa5a40a |
children | c84ff7af1e21 |
rev | line source |
---|---|
domcox@14009 | 1 # SliTaz package receipt. |
domcox@14009 | 2 |
domcox@14009 | 3 PACKAGE="opencore-amr" |
domcox@14009 | 4 VERSION="0.1.3" |
domcox@14009 | 5 CATEGORY="multimedia" |
domcox@14009 | 6 SHORT_DESC="Adaptive Multi Rate (AMR) speech codec" |
pascal@14168 | 7 MAINTAINER="domcox@slitaz.org" |
al@14742 | 8 LICENSE="Apache" |
domcox@14009 | 9 WEB_SITE="http://opencore-amr.sourceforge.net" |
domcox@14009 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@14009 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
domcox@14009 | 12 |
domcox@14009 | 13 DEPENDS="" |
domcox@14009 | 14 BUILD_DEPENDS="" |
domcox@14009 | 15 |
domcox@14009 | 16 # Rules to configure and make the package. |
domcox@14009 | 17 compile_rules() |
domcox@14009 | 18 { |
domcox@14009 | 19 ./configure \ |
domcox@14009 | 20 --prefix="/usr" \ |
domcox@14009 | 21 --disable-static \ |
domcox@14009 | 22 $CONFIGURE_ARGS && |
domcox@14009 | 23 make && make install |
domcox@14009 | 24 } |
domcox@14009 | 25 |
domcox@14009 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14009 | 27 genpkg_rules() |
domcox@14009 | 28 { |
domcox@14009 | 29 mkdir -p $fs/usr/lib |
domcox@14009 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
domcox@14009 | 31 } |