wok-next view openjpeg/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | dad87079f1a0 |
children | c4e53a39395a |
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 HOST_ARCH="i486 arm"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoreconf -fi &&
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 openjpeg)
33 copy *.so*
34 ;;
35 *-tools)
36 copy bin/
37 CAT="graphics|applications"
38 DEPENDS="openjpeg lcms2 libjpeg-turbo libpng16 tiff zlib"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }