wok view libextractor/receipt @ rev 24832
updated libspiro and libspiro-dev (0.5.20150702 -> 20200505)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 06:24:51 2022 +0100 (2022-03-25) |
parents | 71360a13cd94 |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libextractor"
4 VERSION="1.11"
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 iso-codes jpeg-dev lcms-dev libogg-dev libtool
16 zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/libextractor
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor
45 }