wok-stable view jasper/receipt @ rev 6219

Up: chmlib, chmlib-dev to 0.40.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 17:20:28 2010 +0000 (2010-09-11)
parents 8d3f3ded1725
children 07e6c84aad04
line source
1 # SliTaz package receipt.
3 PACKAGE="jasper"
4 VERSION="1.900.1"
5 CATEGORY="graphics"
6 SHORT_DESC="implementation of JPEG-2000 codec"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu util-linux-ng-uuid"
9 BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/"
12 WGET_URL="$WEB_SITE/software/$TARBALL"
13 TAGS="jpeg jpg photo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 chmod +x configure
21 ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
34 }