wok-next view jasper/receipt @ rev 5018

update DEPENDS: nvidia is hardware-specific and should be removed or optional
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 01 08:54:30 2010 +0000 (2010-03-01)
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 }