wok-next annotate libopenraw/receipt @ rev 20630
Up gegl, giflib, graphite2.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 01:47:24 2018 +0300 (2018-04-27) |
parents | a566e73b574d |
children | a244e109372e |
rev | line source |
---|---|
al@20120 | 1 # SliTaz package receipt v2. |
al@20120 | 2 |
al@20120 | 3 PACKAGE="libopenraw" |
al@20120 | 4 VERSION="0.1.2" |
al@20120 | 5 CATEGORY="graphics" |
al@20120 | 6 SHORT_DESC="Library for decoding RAW files" |
al@20120 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20120 | 8 LICENSE="LGPL" |
al@20120 | 9 WEB_SITE="https://libopenraw.freedesktop.org/wiki/" |
al@20120 | 10 |
al@20120 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20120 | 12 WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL" |
al@20120 | 13 |
al@20120 | 14 BUILD_DEPENDS="libboost-dev libjpeg-turbo-dev libxml2-dev curl-dev glib-dev \ |
al@20120 | 15 gdk-pixbuf-dev" |
al@20120 | 16 SPLIT="libopenraw-gnome libopenraw libopenraw-dev" |
al@20120 | 17 |
al@20120 | 18 compile_rules() { |
al@20595 | 19 ./configure $CONFIGURE_ARGS && |
al@20595 | 20 fix libtool && |
al@20595 | 21 make && |
al@20595 | 22 make install |
al@20120 | 23 } |
al@20120 | 24 |
al@20120 | 25 genpkg_rules() { |
al@20120 | 26 case $PACKAGE in |
al@20120 | 27 libopenraw-gnome) |
al@20120 | 28 copy libopenrawgnome.so* |
al@20120 | 29 DEPENDS="libopenraw" |
al@20120 | 30 CAT="gnome|GNOME support" |
al@20120 | 31 ;; |
al@20120 | 32 libopenraw) |
al@20120 | 33 copy @std @rm |
al@20120 | 34 DEPENDS="gdk-pixbuf glib libffi libjpeg-turbo libpng16 pcre \ |
al@20120 | 35 util-linux-blkid util-linux-mount util-linux-uuid zlib" |
al@20120 | 36 ;; |
al@20120 | 37 *-dev) |
al@20120 | 38 copy @dev |
al@20120 | 39 DEPENDS="libopenraw libopenraw-gnome gdk-pixbuf-dev glib-dev \ |
al@20120 | 40 libjpeg-turbo-dev libffi-dev libpng16-dev pcre-dev \ |
al@20120 | 41 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev zlib" |
al@20120 | 42 ;; |
al@20120 | 43 esac |
al@20120 | 44 } |