wok-6.x view libmad-dev/receipt @ rev 15686
Fix wrong name for debootstrap
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:38:57 2013 +0100 (2013-12-21) |
parents | 8f447cf2eee5 |
children | d7effc007afd |
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 pkg-config"
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 }