wok-next view openjpeg/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 4a67f7e79846 |
children | 4e6503d7a19f |
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="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.openjpeg.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/openjpeg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/openjpeg.mirror/$TARBALL"
15 BUILD_DEPENDS="automake libtool libpng16-dev zlib-dev tiff-dev lcms2-dev"
16 SPLIT="openjpeg-tools openjpeg-dev"
18 compile_rules() {
19 autoreconf -fi &&
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 openjpeg)
31 copy *.so*
32 ;;
33 *-tools)
34 copy bin/
35 CAT="graphics|applications"
36 DEPENDS="openjpeg lcms2 libpng16 tiff"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }