wok-current view openjpeg/receipt @ rev 10903

Add zbar
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 11:42:09 2011 +0200 (2011-07-21)
parents fb51094a6449
children b7319995b37e
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --enable-lcms2=no \
19 --enable-png=no \
20 --enable-lcms1=no \
21 --disable-static &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }