wok-next view openjpeg/receipt @ rev 20836
lua5.1: add sha1sum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:27:57 2018 +0000 (2018-06-17) |
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 }