wok-6.x annotate 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 |
rev | line source |
---|---|
paul@1374 | 1 # SliTaz package receipt. |
paul@1374 | 2 |
paul@1374 | 3 PACKAGE="libid3tag-dev" |
paul@1374 | 4 VERSION="0.15.1b" |
paul@1374 | 5 CATEGORY="development" |
paul@1374 | 6 SHORT_DESC="ID3 tag manipulation library devel files." |
paul@1374 | 7 MAINTAINER="paul@slitaz.org" |
paul@1374 | 8 WANTED="libid3tag" |
paul@1374 | 9 WEB_SITE="http://www.underbit.com/products/mad" |
paul@1374 | 10 |
paul@1374 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1374 | 12 genpkg_rules() |
paul@1374 | 13 { |
pankso@2865 | 14 mkdir -p $fs/usr/lib/pkgconfig |
paul@1374 | 15 cp -a $_pkg/usr/include $fs/usr |
paul@1374 | 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
pankso@2865 | 17 # libid3tag.pc |
pankso@2865 | 18 cat > $fs/usr/lib/pkgconfig/libid3tag.pc << _EOT_ |
pankso@2865 | 19 prefix=/usr |
pankso@2865 | 20 exec_prefix=${prefix} |
pankso@2865 | 21 libdir=${exec_prefix}/lib |
pankso@2865 | 22 includedir=${prefix}/include |
pankso@2865 | 23 |
pankso@2865 | 24 Name: id3tag |
pankso@2865 | 25 Description: ID3 tag manipulation library |
pankso@2865 | 26 Requires: |
pankso@2865 | 27 Version: $VERSION |
pankso@2865 | 28 Libs: -L${libdir} -lid3tag -lz |
pankso@2865 | 29 Cflags: -I${includedir} |
pankso@2865 | 30 _EOT_ |
paul@1374 | 31 } |