wok-stable view openjpeg/receipt @ rev 8982

Fixed othello to work locally so sources don't have to be downloaded everytime.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 15:36:11 2011 +0000 (2011-03-02)
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 }