wok-current view libid3tag-dev/receipt @ rev 2865
libid3tag-dev: Creat libid3tag.pc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 02 11:34:53 2009 +0200 (2009-05-02) |
parents | 9691564d9247 |
children | ba5376bd8361 |
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 WANTED="libid3tag"
9 WEB_SITE="http://www.underbit.com/products/mad"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib/pkgconfig
15 cp -a $_pkg/usr/include $fs/usr
16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
17 # libid3tag.pc
18 cat > $fs/usr/lib/pkgconfig/libid3tag.pc << _EOT_
19 prefix=/usr
20 exec_prefix=${prefix}
21 libdir=${exec_prefix}/lib
22 includedir=${prefix}/include
24 Name: id3tag
25 Description: ID3 tag manipulation library
26 Requires:
27 Version: $VERSION
28 Libs: -L${libdir} -lid3tag -lz
29 Cflags: -I${includedir}
30 _EOT_
31 }