wok-next annotate libmad/receipt @ rev 7249
Up: xorg-xtrans to 1.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 14 15:44:20 2010 +0000 (2010-11-14) |
parents | e0f2bee5b24d |
children | 0f8dcbf8807b |
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" |
pankso@32 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 9 WEB_SITE="http://www.underbit.com/products/mad/" |
pankso@32 | 10 WGET_URL="$SF_MIRROR/mad/$TARBALL" |
pankso@32 | 11 |
pankso@32 | 12 # Rules to configure and make the package. |
pankso@32 | 13 compile_rules() |
pankso@32 | 14 { |
pankso@32 | 15 cd $src |
pascal@4257 | 16 sed -i '/-fforce-mem/d' ./configure |
pankso@32 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS |
pankso@32 | 18 make |
pankso@32 | 19 make DESTDIR=$PWD/_pkg 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 |
pankso@32 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 27 strip --strip-unneeded $fs/usr/lib/* |
pankso@32 | 28 } |
pankso@32 | 29 |