wok view libmad-dev/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 8ed62ecac0c7
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 LICENSE="GPL2"
9 WANTED="libmad"
10 WEB_SITE="http://www.underbit.com/products/mad/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="libmad pkg-config"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib
19 cp -a $install/usr/include $fs/usr
20 cp -a $install/usr/lib/*.*a $fs/usr/lib
22 # mad.pc patch
23 mkdir -p $fs/usr/lib/pkgconfig
24 cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF"
25 prefix=/usr
26 exec_prefix=${prefix}
27 libdir=${exec_prefix}/lib
28 includedir=${prefix}/include
30 Name: mad
31 Description: MPEG audio decoder
32 Version: 0.15.1b
34 Libs: -L${libdir} -lmad
35 Cflags: -I${includedir}
36 EOF
38 }