wok-6.x view jasper/receipt @ rev 14465

nconf: remove compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 27 09:10:25 2013 +0200 (2013-04-27)
parents b7319995b37e
children 23c3aed67cd9
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-mesa util-linux-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 $CONFIGURE_ARGS &&
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 }