wok-next annotate libextractor/receipt @ rev 20749
pcre package was split into separate libs. Update the dependencies of the packages that previously depended on pcre.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 01 00:47:43 2018 +0300 (2018-06-01) |
parents | 0ec6086e21d6 |
children | d5aab818505e |
rev | line source |
---|---|
al@20328 | 1 # SliTaz package receipt v2. |
pascal@11554 | 2 |
pascal@11554 | 3 PACKAGE="libextractor" |
al@20328 | 4 VERSION="1.6" |
al@20328 | 5 CATEGORY="utilities" |
al@20328 | 6 SHORT_DESC="Extract meta data from files of arbitrary type" |
pascal@11554 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="GPL2" |
al@20328 | 9 WEB_SITE="https://www.gnu.org/software/libextractor/" |
al@20328 | 10 |
pascal@11554 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11554 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@11554 | 13 |
al@20328 | 14 BUILD_DEPENDS="libtool iso-codes libvorbis-dev flac-dev zlib-dev bzip2-dev \ |
al@20328 | 15 libmpeg2-dev libjpeg-turbo-dev tiff-dev libarchive-dev exiv2-dev giflib-dev \ |
al@20328 | 16 libmagic-dev tidy-dev gettext glib-dev gdk-pixbuf-dev libgsf-dev ffmpeg-dev" |
al@20328 | 17 SPLIT="libextractor-archive libextractor-exiv2 libextractor-flac \ |
al@20328 | 18 libextractor-gif libextractor-jpeg libextractor-mime libextractor-mpeg \ |
al@20328 | 19 libextractor-ogg libextractor-ole2 libextractor-thumbnailffmpeg \ |
al@20328 | 20 libextractor-thumbnailgtk libextractor-tiff libextractor libextractor-dev" |
pascal@11554 | 21 |
al@20328 | 22 compile_rules() { |
al@20328 | 23 ./configure \ |
al@20328 | 24 --enable-shared \ |
al@20328 | 25 --disable-static \ |
al@20575 | 26 $CONFIGURE_ARGS && |
al@20575 | 27 fix libtool && |
al@20575 | 28 make -j1 && |
al@20575 | 29 make install |
pascal@11554 | 30 } |
pascal@11554 | 31 |
al@20328 | 32 genpkg_rules() { |
al@20328 | 33 case $PACKAGE in |
al@20328 | 34 libextractor) |
al@20328 | 35 copy @std @rm |
al@20328 | 36 DEPENDS="bzlib libltdl zlib" |
al@20328 | 37 ;; |
al@20328 | 38 *-dev) |
al@20328 | 39 copy @dev |
al@20328 | 40 ;; |
al@20328 | 41 *) |
al@20328 | 42 copy libextractor_${PACKAGE/libextractor-/}.so |
al@20328 | 43 CAT="utilities|${PACKAGE/libextractor-/} plugin" |
al@20328 | 44 ;; |
al@20328 | 45 esac |
al@20328 | 46 |
al@20328 | 47 case $PACKAGE in |
al@20328 | 48 *-archive) DEPENDS="libarchive";; |
al@20328 | 49 *-exiv2) DEPENDS="exiv2";; |
al@20328 | 50 *-flac) DEPENDS="flac";; |
al@20328 | 51 *-gif) DEPENDS="giflib";; |
al@20328 | 52 *-jpeg) DEPENDS="libjpeg-turbo";; |
al@20328 | 53 *-mime) DEPENDS="libmagic";; |
al@20328 | 54 *-mpeg) DEPENDS="libmpeg2";; |
al@20749 | 55 *-ogg) DEPENDS="libvorbis";; |
al@20749 | 56 *-ole2) DEPENDS="glib libextractor libgsf";; |
al@20328 | 57 *ffmpeg) DEPENDS="ffmpeg libmagic";; |
al@20328 | 58 *gtk) DEPENDS="gdk-pixbuf glib libmagic";; |
al@20328 | 59 *-tiff) DEPENDS="tiff";; |
al@20328 | 60 esac |
pascal@11554 | 61 } |