wok-6.x view libmad/receipt @ rev 3599

iFax: amsn WGET_URL
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jun 28 21:33:29 2009 +0200 (2009-06-28)
parents a7cb804c8e95
children 9533ac3f632f
line source
1 # SliTaz package receipt.
3 PACKAGE="libmad"
4 VERSION="0.15.1b"
5 CATEGORY="multimedia"
6 SHORT_DESC="MAD is a high-quality MPEG audio decoder."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.underbit.com/products/mad/"
10 WGET_URL="$SF_MIRROR/mad/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr $CONFIGURE_ARGS
17 make
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 strip --strip-unneeded $fs/usr/lib/*
27 }