wok view libextractor/receipt @ rev 24438

updated coturn and coturn-dev (4.5.1.3 -> 4.5.2)
author Hans-G?nter Theisgen
date Sun Feb 13 17:48:17 2022 +0100 (2022-02-13)
parents eee2934d2af8
children f9c16f4ba2c0
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/libextractor
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/libextractor/*.so* $fs/usr/lib/libextractor
44 }