wok view libmad-dev/receipt @ rev 12179
Up: slitaz-configs (4.8.3) - Only apps in Applications menu and logout button on top right
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 24 16:15:55 2012 +0100 (2012-03-24) |
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 }