wok view jasper/receipt @ rev 3038

Add jasper,jasper-dev
author Rohit Joshi <jozee@slitaz.org>
date Tue May 12 13:17:54 2009 +0000 (2009-05-12)
parents
children 8d3f3ded1725
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 "
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 }