wok-next view libextractor/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | 0f2575775b2d |
children | 743984e83b46 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libextractor"
4 VERSION="1.6"
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="libtool iso-codes-dev libvorbis-dev flac-dev zlib-dev bzip2-dev \
15 libmpeg2-dev libjpeg-turbo-dev tiff-dev libarchive-dev exiv2-dev giflib-dev \
16 libmagic-dev tidy-dev gettext-dev glib-dev gdk-pixbuf-dev libgsf-dev ffmpeg-dev"
17 SPLIT="\
18 $PACKAGE-archive $PACKAGE-exiv2 $PACKAGE-flac $PACKAGE-gif \
19 $PACKAGE-jpeg $PACKAGE-mime $PACKAGE-mpeg $PACKAGE-ogg \
20 $PACKAGE-ole2 $PACKAGE-thumbnailffmpeg $PACKAGE-thumbnailgtk $PACKAGE-tiff \
21 $PACKAGE $PACKAGE-dev"
23 compile_rules() {
24 ./configure \
25 --enable-shared \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make -j1 &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libextractor)
36 copy @std @rm
37 DEPENDS="libbzip2 libltdl zlib"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 *)
43 copy libextractor_${PACKAGE/libextractor-/}.so
44 CAT="utilities|${PACKAGE/libextractor-/} plugin"
45 ;;
46 esac
48 case $PACKAGE in
49 *-archive) DEPENDS="libarchive";;
50 *-exiv2) DEPENDS="exiv2";;
51 *-flac) DEPENDS="flac";;
52 *-gif) DEPENDS="giflib";;
53 *-jpeg) DEPENDS="libjpeg-turbo";;
54 *-mime) DEPENDS="libmagic";;
55 *-mpeg) DEPENDS="libmpeg2";;
56 *-ogg) DEPENDS="libvorbis";;
57 *-ole2) DEPENDS="glib libextractor libgsf";;
58 *ffmpeg) DEPENDS="ffmpeg libmagic";;
59 *gtk) DEPENDS="gdk-pixbuf glib libmagic";;
60 *-tiff) DEPENDS="libtiff";;
61 esac
62 }