wok-current view libmad-dev/receipt @ rev 18702
Up ola(0.9.8) (thanks Thomas a.k.a. kult-ex)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:43:42 2015 +0200 (2015-12-16) |
parents | 8ed62ecac0c7 |
children | a23978bfa665 |
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 }