wok-next view openjpeg/receipt @ rev 21280
gimp: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 17:24:40 2019 +0100 (2019-12-07) |
parents | 75632eca5b07 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openjpeg"
4 VERSION="1.5.2"
5 CATEGORY="graphics"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.openjpeg.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/openjpeg.html"
11 REPOLOGY="openjpeg15"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/openjpeg.mirror/$TARBALL"
16 BUILD_DEPENDS="automake libtool libpng-dev zlib-dev tiff-dev lcms2-dev"
17 SPLIT="$PACKAGE-tools $PACKAGE-dev"
19 compile_rules() {
20 autoreconf -fi &&
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 openjpeg)
32 copy *.so*
33 ;;
34 *-tools)
35 copy bin/
36 CAT="graphics|applications"
37 DEPENDS="openjpeg liblcms2 libpng libtiff"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }