wok view libid3tag-dev/receipt @ rev 15597

Update some bdeps with pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 11:43:50 2013 +0000 (2013-12-05)
parents 8f447cf2eee5
children 73fb2ebfd59a
line source
1 # SliTaz package receipt.
3 PACKAGE="libid3tag-dev"
4 VERSION="0.15.1b"
5 CATEGORY="development"
6 SHORT_DESC="ID3 tag manipulation library devel files."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="libid3tag"
10 WEB_SITE="http://www.underbit.com/products/mad"
12 DEPENDS="libid3tag pkg-config"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/pkgconfig
18 cp -a $install/usr/include $fs/usr
19 cp -a $install/usr/lib/*.*a $fs/usr/lib
21 # libid3tag.pc
22 cat > $fs/usr/lib/pkgconfig/id3tag.pc << _EOT_
23 prefix=/usr
24 exec_prefix=\${prefix}/bin
25 libdir=\${prefix}/lib
26 includedir=\${prefix}/include
28 Name: id3tag
29 Description: ID3 tag manipulation library
30 Requires:
31 Version: $VERSION
32 Libs: -L\${libdir} -lid3tag -lz
33 Cflags:
34 _EOT_
35 }