wok view libextractor/receipt @ rev 11554

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