wok-current annotate libmad-dev/receipt @ rev 7188
Added libmad to libmad-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 08 22:52:24 2010 +0000 (2010-11-08) |
parents | 13da884d3629 |
children | 8f447cf2eee5 |
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" |
slaxemulator@7188 | 8 DEPENDS="libmad" |
pankso@32 | 9 WANTED="libmad" |
pankso@32 | 10 WEB_SITE="http://www.underbit.com/products/mad/" |
pankso@32 | 11 |
pankso@32 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 13 genpkg_rules() |
pankso@32 | 14 { |
pankso@32 | 15 mkdir -p $fs/usr/lib |
pankso@32 | 16 cp -a $_pkg/usr/include $fs/usr |
pankso@32 | 17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
jozee@2668 | 18 |
jozee@2668 | 19 # mad.pc patch |
jozee@2668 | 20 mkdir -p $fs/usr/lib/pkgconfig |
jozee@2668 | 21 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF" |
jozee@2668 | 22 prefix=/usr |
jozee@2668 | 23 exec_prefix=${prefix} |
jozee@2668 | 24 libdir=${exec_prefix}/lib |
jozee@2668 | 25 includedir=${prefix}/include |
jozee@2668 | 26 |
jozee@2668 | 27 Name: mad |
jozee@2668 | 28 Description: MPEG audio decoder |
jozee@2706 | 29 Version: 0.15.1b |
jozee@2668 | 30 |
jozee@2668 | 31 Libs: -L${libdir} -lmad |
jozee@2668 | 32 Cflags: -I${includedir} |
jozee@2668 | 33 EOF |
jozee@2668 | 34 |
pankso@32 | 35 } |
pankso@32 | 36 |