wok-next view openjpeg/receipt @ rev 20955
Update Perl packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 03 10:09:42 2018 +0300 (2018-09-03) |
parents | b863487b8e7a |
children | f48456621a9d |
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"
11 REPOLOGY="openjpeg15"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/openjpeg.mirror/$TARBALL"
16 BUILD_DEPENDS="automake libtool libpng16-dev zlib-dev tiff-dev lcms2-dev"
17 SPLIT="openjpeg-tools openjpeg-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 libpng16 tiff"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }