wok-next view openjpeg/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 75632eca5b07 |
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 lcms2 libpng tiff"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }