wok-current view openjpeg/receipt @ rev 16324
connman-ui: set a meaningful name to the source for mirror:/source/packages-cooking/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 10 11:04:26 2014 +0000 (2014-04-10) |
parents | d6b99c62ef00 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.5.0"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openjpeg.org/"
11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="zlib-dev tiff-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # make sure we use system libs
21 [ -d thirtparty ] && rm -rf thirtparty
22 ./configure --enable-lcms2=no \
23 --enable-png=no \
24 --enable-lcms1=no \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }