wok-6.x annotate libmad/receipt @ rev 16422
Add slitaz-arm-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 04:12:20 2014 +0200 (2014-04-18) |
parents | 8f447cf2eee5 |
children | ee53899c6189 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libmad" |
pankso@32 | 4 VERSION="0.15.1b" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="MAD is a high-quality MPEG audio decoder." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15473 | 8 LICENSE="GPL2" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 10 WEB_SITE="http://www.underbit.com/products/mad/" |
pankso@32 | 11 WGET_URL="$SF_MIRROR/mad/$TARBALL" |
pankso@15964 | 12 HOST_ARCH="i486 arm" |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pascal@4257 | 17 sed -i '/-fforce-mem/d' ./configure |
pankso@15964 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@15964 | 19 make && make DESTDIR=$DESTDIR install |
pankso@32 | 20 } |
pankso@32 | 21 |
pankso@32 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 23 genpkg_rules() |
pankso@32 | 24 { |
pankso@32 | 25 mkdir -p $fs/usr/lib |
pascal@15473 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 27 } |
pankso@32 | 28 |