wok-6.x annotate libid3tag-dev/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | f3474882f4ec |
children | 8f447cf2eee5 |
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" |
slaxemulator@6614 | 8 DEPENDS="libid3tag" |
paul@1374 | 9 WANTED="libid3tag" |
paul@1374 | 10 WEB_SITE="http://www.underbit.com/products/mad" |
paul@1374 | 11 |
paul@1374 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1374 | 13 genpkg_rules() |
paul@1374 | 14 { |
pankso@2865 | 15 mkdir -p $fs/usr/lib/pkgconfig |
paul@1374 | 16 cp -a $_pkg/usr/include $fs/usr |
paul@1374 | 17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
paul@2872 | 18 |
pankso@2865 | 19 # libid3tag.pc |
paul@2872 | 20 cat > $fs/usr/lib/pkgconfig/id3tag.pc << _EOT_ |
pankso@2865 | 21 prefix=/usr |
jozee@3698 | 22 exec_prefix=\${prefix}/bin |
jozee@3698 | 23 libdir=\${prefix}/lib |
jozee@3698 | 24 includedir=\${prefix}/include |
pankso@2865 | 25 |
pankso@2865 | 26 Name: id3tag |
pankso@2865 | 27 Description: ID3 tag manipulation library |
pankso@2865 | 28 Requires: |
jozee@3698 | 29 Version: $VERSION |
jozee@3698 | 30 Libs: -L\${libdir} -lid3tag -lz |
jozee@2947 | 31 Cflags: |
pankso@2865 | 32 _EOT_ |
paul@1374 | 33 } |