wok-6.x diff 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 diff
1.1 --- a/libid3tag-dev/receipt Thu Sep 11 15:07:04 2008 +0000 1.2 +++ b/libid3tag-dev/receipt Sat May 02 11:34:53 2009 +0200 1.3 @@ -8,20 +8,24 @@ 1.4 WANTED="libid3tag" 1.5 WEB_SITE="http://www.underbit.com/products/mad" 1.6 1.7 - 1.8 -# Rules to configure and make the package. 1.9 -compile_rules() 1.10 -{ 1.11 - cd $src 1.12 - ./configure --prefix=/usr $CONFIGURE_ARGS 1.13 - make 1.14 - make DESTDIR=$PWD/_pkg install 1.15 -} 1.16 - 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 - mkdir -p $fs/usr/lib 1.21 + mkdir -p $fs/usr/lib/pkgconfig 1.22 cp -a $_pkg/usr/include $fs/usr 1.23 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.24 + # libid3tag.pc 1.25 + cat > $fs/usr/lib/pkgconfig/libid3tag.pc << _EOT_ 1.26 +prefix=/usr 1.27 +exec_prefix=${prefix} 1.28 +libdir=${exec_prefix}/lib 1.29 +includedir=${prefix}/include 1.30 + 1.31 +Name: id3tag 1.32 +Description: ID3 tag manipulation library 1.33 +Requires: 1.34 +Version: $VERSION 1.35 +Libs: -L${libdir} -lid3tag -lz 1.36 +Cflags: -I${includedir} 1.37 +_EOT_ 1.38 }