wok-4.x view libmad-dev/receipt @ rev 12469

tazpkg: upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 19:06:12 2022 +0000 (24 months ago)
parents 13da884d3629
children
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 DEPENDS="libmad"
9 WANTED="libmad"
10 WEB_SITE="http://www.underbit.com/products/mad/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 cp -a $_pkg/usr/include $fs/usr
17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
19 # mad.pc patch
20 mkdir -p $fs/usr/lib/pkgconfig
21 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
22 prefix=/usr
23 exec_prefix=${prefix}
24 libdir=${exec_prefix}/lib
25 includedir=${prefix}/include
27 Name: mad
28 Description: MPEG audio decoder
29 Version: 0.15.1b
31 Libs: -L${libdir} -lmad
32 Cflags: -I${includedir}
33 EOF
35 }