wok-next view libextractor/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libextractor"
4 VERSION="1.9"
5 CATEGORY="utilities"
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 BUILD_DEPENDS="bzip2-dev exiv2-dev ffmpeg-dev flac-dev gdk-pixbuf-dev
15 gettext-dev giflib-dev glib-dev iso-codes-dev libarchive-dev
16 libgsf-dev libjpeg-turbo-dev libmagic-dev libmpeg2-dev libtool
17 libvorbis-dev tidy-dev tiff-dev zlib-dev"
18 SPLIT="\
19 $PACKAGE-archive $PACKAGE-exiv2 $PACKAGE-flac $PACKAGE-gif \
20 $PACKAGE-jpeg $PACKAGE-mime $PACKAGE-mpeg $PACKAGE-ogg \
21 $PACKAGE-ole2 $PACKAGE-thumbnailffmpeg $PACKAGE-thumbnailgtk $PACKAGE-tiff \
22 $PACKAGE $PACKAGE-dev"
24 compile_rules()
25 {
26 ./configure \
27 --enable-shared \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make -j1 &&
32 make install
33 }
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 libextractor)
39 copy @std @rm
40 DEPENDS="libbzip2 libltdl zlib"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 *)
46 copy libextractor_${PACKAGE/libextractor-/}.so
47 CAT="utilities|${PACKAGE/libextractor-/} plugin"
48 ;;
49 esac
51 case $PACKAGE in
52 *-archive) DEPENDS="libarchive";;
53 *-exiv2) DEPENDS="exiv2";;
54 *-flac) DEPENDS="flac";;
55 *-gif) DEPENDS="giflib";;
56 *-jpeg) DEPENDS="libjpeg-turbo";;
57 *-mime) DEPENDS="libmagic";;
58 *-mpeg) DEPENDS="libmpeg2";;
59 *-ogg) DEPENDS="libvorbis";;
60 *-ole2) DEPENDS="glib libextractor libgsf";;
61 *ffmpeg) DEPENDS="ffmpeg libmagic";;
62 *gtk) DEPENDS="gdk-pixbuf glib libmagic";;
63 *-tiff) DEPENDS="libtiff";;
64 esac
65 }