wok annotate libmad-dev/receipt @ rev 24212
updated perl-file-slurp (9999.30 -> 9999.32)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:13:01 2021 +0100 (2021-12-31) |
parents | 8ed62ecac0c7 |
children |
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@15964 | 11 HOST_ARCH="i486 arm" |
pankso@32 | 12 |
pascal@15597 | 13 DEPENDS="libmad pkg-config" |
pascal@15473 | 14 |
pankso@32 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 16 genpkg_rules() |
pankso@32 | 17 { |
pankso@32 | 18 mkdir -p $fs/usr/lib |
pascal@15473 | 19 cp -a $install/usr/include $fs/usr |
pascal@15473 | 20 cp -a $install/usr/lib/*.*a $fs/usr/lib |
jozee@2668 | 21 |
jozee@2668 | 22 # mad.pc patch |
jozee@2668 | 23 mkdir -p $fs/usr/lib/pkgconfig |
jozee@2668 | 24 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF" |
jozee@2668 | 25 prefix=/usr |
jozee@2668 | 26 exec_prefix=${prefix} |
jozee@2668 | 27 libdir=${exec_prefix}/lib |
jozee@2668 | 28 includedir=${prefix}/include |
jozee@2668 | 29 |
jozee@2668 | 30 Name: mad |
jozee@2668 | 31 Description: MPEG audio decoder |
jozee@2706 | 32 Version: 0.15.1b |
jozee@2668 | 33 |
jozee@2668 | 34 Libs: -L${libdir} -lmad |
jozee@2668 | 35 Cflags: -I${includedir} |
jozee@2668 | 36 EOF |
jozee@2668 | 37 |
pankso@32 | 38 } |
pankso@32 | 39 |