wok-current view libextractor/receipt @ rev 21984
linld: x86 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 11:20:06 2019 +0200 (2019-10-14) |
parents | 6c3718ca17b6 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libextractor"
4 VERSION="1.9"
5 CATEGORY="network"
6 SHORT_DESC="Extract meta data from files of arbitrary type."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/libextractor"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="flac-dev gettext lcms-dev libogg-dev libtool zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/libextractor
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor
37 }