wok-next view jasper/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 07e6c84aad04 |
children | 73641efed1cc |
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-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 $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 }