wok view libmad-dev/receipt @ rev 15558
Up: thunderbird-langpack-hu (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:37:39 2013 +0100 (2013-11-24) |
parents | 066e5d9c2219 |
children | 8ed62ecac0c7 |
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 LICENSE="GPL2"
9 WANTED="libmad"
10 WEB_SITE="http://www.underbit.com/products/mad/"
12 DEPENDS="libmad"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib
18 cp -a $install/usr/include $fs/usr
19 cp -a $install/usr/lib/*.*a $fs/usr/lib
21 # mad.pc patch
22 mkdir -p $fs/usr/lib/pkgconfig
23 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
24 prefix=/usr
25 exec_prefix=${prefix}
26 libdir=${exec_prefix}/lib
27 includedir=${prefix}/include
29 Name: mad
30 Description: MPEG audio decoder
31 Version: 0.15.1b
33 Libs: -L${libdir} -lmad
34 Cflags: -I${includedir}
35 EOF
37 }