wok annotate libextractor/receipt @ rev 13471
libmtp: Add udev rules
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Oct 08 21:39:08 2012 +0200 (2012-10-08) |
parents | |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pascal@11554 | 1 # SliTaz package receipt. |
pascal@11554 | 2 |
pascal@11554 | 3 PACKAGE="libextractor" |
pascal@11554 | 4 VERSION="0.6.2" |
pascal@11554 | 5 CATEGORY="network" |
pascal@11554 | 6 SHORT_DESC="Extract meta data from files of arbitrary type." |
pascal@11554 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11554 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11554 | 9 WEB_SITE="http://www.gnu.org/software/libextractor" |
pascal@11554 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@11554 | 11 |
pascal@11554 | 12 DEPENDS="zlib" |
pascal@11554 | 13 BUILD_DEPENDS="libtool gettext zlib-dev flac-dev libogg-dev lcms-dev" |
pascal@11554 | 14 |
pascal@11554 | 15 # Rules to configure and make the package. |
pascal@11554 | 16 compile_rules() |
pascal@11554 | 17 { |
pascal@11554 | 18 cd $src |
pascal@11554 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11554 | 20 --localstatedir=/var \ |
pascal@11554 | 21 $CONFIGURE_ARGS && |
pascal@11554 | 22 make -j 1 && |
pascal@11554 | 23 make DESTDIR=$DESTDIR install |
pascal@11554 | 24 } |
pascal@11554 | 25 |
pascal@11554 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11554 | 27 genpkg_rules() |
pascal@11554 | 28 { |
pascal@11554 | 29 mkdir -p $fs/usr/lib/libextractor |
pascal@11554 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@11554 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11554 | 32 cp -a $_pkg/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor |
pascal@11554 | 33 } |