wok-6.x view libmad-dev/receipt @ rev 14960
Up: firefox (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:19:37 2013 +0200 (2013-08-08) |
parents | 13da884d3629 |
children | 8f447cf2eee5 |
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 DEPENDS="libmad"
9 WANTED="libmad"
10 WEB_SITE="http://www.underbit.com/products/mad/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 cp -a $_pkg/usr/include $fs/usr
17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
19 # mad.pc patch
20 mkdir -p $fs/usr/lib/pkgconfig
21 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
22 prefix=/usr
23 exec_prefix=${prefix}
24 libdir=${exec_prefix}/lib
25 includedir=${prefix}/include
27 Name: mad
28 Description: MPEG audio decoder
29 Version: 0.15.1b
31 Libs: -L${libdir} -lmad
32 Cflags: -I${includedir}
33 EOF
35 }