wok annotate libmad-dev/receipt @ rev 5835

Up: xfwm4 (4.6.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 16 08:10:01 2010 +0200 (2010-07-16)
parents 6476aebd9888
children 066e5d9c2219
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="libmad-dev"
pankso@32 4 VERSION="0.15.1b"
pankso@199 5 CATEGORY="development"
pankso@32 6 SHORT_DESC="MAD is a high-quality MPEG audio decoder devel files."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pankso@32 8 WANTED="libmad"
pankso@32 9 WEB_SITE="http://www.underbit.com/products/mad/"
pankso@32 10
pankso@32 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 12 genpkg_rules()
pankso@32 13 {
pankso@32 14 mkdir -p $fs/usr/lib
pankso@32 15 cp -a $_pkg/usr/include $fs/usr
pankso@32 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
jozee@2668 17
jozee@2668 18 # mad.pc patch
jozee@2668 19 mkdir -p $fs/usr/lib/pkgconfig
jozee@2668 20 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
jozee@2668 21 prefix=/usr
jozee@2668 22 exec_prefix=${prefix}
jozee@2668 23 libdir=${exec_prefix}/lib
jozee@2668 24 includedir=${prefix}/include
jozee@2668 25
jozee@2668 26 Name: mad
jozee@2668 27 Description: MPEG audio decoder
jozee@2706 28 Version: 0.15.1b
jozee@2668 29
jozee@2668 30 Libs: -L${libdir} -lmad
jozee@2668 31 Cflags: -I${includedir}
jozee@2668 32 EOF
jozee@2668 33
pankso@32 34 }
pankso@32 35