wok annotate 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 |
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" |
pascal@15473 | 8 LICENSE="GPL2" |
pankso@32 | 9 WANTED="libmad" |
pankso@32 | 10 WEB_SITE="http://www.underbit.com/products/mad/" |
pankso@32 | 11 |
pascal@15473 | 12 DEPENDS="libmad" |
pascal@15473 | 13 |
pankso@32 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 15 genpkg_rules() |
pankso@32 | 16 { |
pankso@32 | 17 mkdir -p $fs/usr/lib |
pascal@15473 | 18 cp -a $install/usr/include $fs/usr |
pascal@15473 | 19 cp -a $install/usr/lib/*.*a $fs/usr/lib |
jozee@2668 | 20 |
jozee@2668 | 21 # mad.pc patch |
jozee@2668 | 22 mkdir -p $fs/usr/lib/pkgconfig |
jozee@2668 | 23 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF" |
jozee@2668 | 24 prefix=/usr |
jozee@2668 | 25 exec_prefix=${prefix} |
jozee@2668 | 26 libdir=${exec_prefix}/lib |
jozee@2668 | 27 includedir=${prefix}/include |
jozee@2668 | 28 |
jozee@2668 | 29 Name: mad |
jozee@2668 | 30 Description: MPEG audio decoder |
jozee@2706 | 31 Version: 0.15.1b |
jozee@2668 | 32 |
jozee@2668 | 33 Libs: -L${libdir} -lmad |
jozee@2668 | 34 Cflags: -I${includedir} |
jozee@2668 | 35 EOF |
jozee@2668 | 36 |
pankso@32 | 37 } |
pankso@32 | 38 |