wok-next diff libopenraw/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | |
children | 5841522533ec |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libopenraw/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libopenraw" 1.7 +VERSION="0.1.2" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="Library for decoding RAW files" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="LGPL" 1.12 +WEB_SITE="https://libopenraw.freedesktop.org/wiki/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="libboost-dev libjpeg-turbo-dev libxml2-dev curl-dev glib-dev \ 1.18 +gdk-pixbuf-dev" 1.19 +SPLIT="libopenraw-gnome libopenraw libopenraw-dev" 1.20 + 1.21 +compile_rules() { 1.22 + ./configure $CONFIGURE_ARGS && make && make install 1.23 +} 1.24 + 1.25 +genpkg_rules() { 1.26 + case $PACKAGE in 1.27 + libopenraw-gnome) 1.28 + copy libopenrawgnome.so* 1.29 + DEPENDS="libopenraw" 1.30 + CAT="gnome|GNOME support" 1.31 + ;; 1.32 + libopenraw) 1.33 + copy @std @rm 1.34 + DEPENDS="gdk-pixbuf glib libffi libjpeg-turbo libpng16 pcre \ 1.35 + util-linux-blkid util-linux-mount util-linux-uuid zlib" 1.36 + ;; 1.37 + *-dev) 1.38 + copy @dev 1.39 + DEPENDS="libopenraw libopenraw-gnome gdk-pixbuf-dev glib-dev \ 1.40 + libjpeg-turbo-dev libffi-dev libpng16-dev pcre-dev \ 1.41 + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev zlib" 1.42 + ;; 1.43 + esac 1.44 +}