wok-4.x view libmad/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | e0f2bee5b24d |
children | 0f8dcbf8807b |
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 sed -i '/-fforce-mem/d' ./configure
17 ./configure --prefix=/usr $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 strip --strip-unneeded $fs/usr/lib/*
28 }