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