wok-next view libmad-dev/receipt @ rev 3757
mirror-tools/mkpkgiso: fix sort weights
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 24 11:41:10 2009 +0200 (2009-07-24) |
parents | 6476aebd9888 |
children | 066e5d9c2219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmad-dev"
4 VERSION="0.15.1b"
5 CATEGORY="development"
6 SHORT_DESC="MAD is a high-quality MPEG audio decoder devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="libmad"
9 WEB_SITE="http://www.underbit.com/products/mad/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib
15 cp -a $_pkg/usr/include $fs/usr
16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
18 # mad.pc patch
19 mkdir -p $fs/usr/lib/pkgconfig
20 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
21 prefix=/usr
22 exec_prefix=${prefix}
23 libdir=${exec_prefix}/lib
24 includedir=${prefix}/include
26 Name: mad
27 Description: MPEG audio decoder
28 Version: 0.15.1b
30 Libs: -L${libdir} -lmad
31 Cflags: -I${includedir}
32 EOF
34 }