wok-next view libextractor/receipt @ rev 18481

bash: post_install() not [ fails ] when you refuse to make bash default
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 04:06:36 2015 +0300 (2015-10-08)
parents c5f099679095
children 6a3f3d91ab26
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libextractor"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="libtool gettext zlib-dev flac-dev libogg-dev lcms-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/libextractor
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor
34 }