wok-next annotate libextractor/receipt @ rev 17199
Up rsync (3.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 19:19:04 2014 +0200 (2014-10-08) |
parents | c5f099679095 |
children | 6a3f3d91ab26 |
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@15472 | 8 LICENSE="GPL2" |
pascal@11554 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11554 | 10 WEB_SITE="http://www.gnu.org/software/libextractor" |
pascal@11554 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@11554 | 12 |
pascal@11554 | 13 DEPENDS="zlib" |
pascal@11554 | 14 BUILD_DEPENDS="libtool gettext zlib-dev flac-dev libogg-dev lcms-dev" |
pascal@11554 | 15 |
pascal@11554 | 16 # Rules to configure and make the package. |
pascal@11554 | 17 compile_rules() |
pascal@11554 | 18 { |
pascal@11554 | 19 cd $src |
pascal@11554 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11554 | 21 --localstatedir=/var \ |
pascal@11554 | 22 $CONFIGURE_ARGS && |
pascal@11554 | 23 make -j 1 && |
pascal@11554 | 24 make DESTDIR=$DESTDIR install |
pascal@11554 | 25 } |
pascal@11554 | 26 |
pascal@11554 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11554 | 28 genpkg_rules() |
pascal@11554 | 29 { |
pascal@11554 | 30 mkdir -p $fs/usr/lib/libextractor |
pascal@15472 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15472 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15472 | 33 cp -a $install/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor |
pascal@11554 | 34 } |