wok-4.x view openjpeg/receipt @ rev 12376

xorg-xauth: add common path (thanks mojo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 29 09:47:08 2013 +0100 (2013-01-29)
parents b7319995b37e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.4"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 _VERSION=v1_4
10 TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
11 WEB_SITE="http://www.openjpeg.org/"
12 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="coreutils-directory"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --enable-lcms2=no \
21 --enable-png=no \
22 --enable-lcms1=no \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }