wok-current annotate jasper/receipt @ rev 15581
xorg-cf-files: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 11:11:23 2013 +0000 (2013-11-30) |
parents | b7319995b37e |
children | 23c3aed67cd9 |
rev | line source |
---|---|
jozee@3038 | 1 # SliTaz package receipt. |
jozee@3038 | 2 |
jozee@3038 | 3 PACKAGE="jasper" |
jozee@3038 | 4 VERSION="1.900.1" |
jozee@3038 | 5 CATEGORY="graphics" |
jozee@3038 | 6 SHORT_DESC="implementation of JPEG-2000 codec" |
jozee@3038 | 7 MAINTAINER="jozee@slitaz.org" |
pankso@12481 | 8 DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid" |
jozee@3038 | 9 BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev" |
jozee@3038 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
jozee@3038 | 11 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" |
jozee@3038 | 12 WGET_URL="$WEB_SITE/software/$TARBALL" |
jozee@3038 | 13 TAGS="jpeg jpg photo" |
jozee@3038 | 14 |
jozee@3038 | 15 |
jozee@3038 | 16 # Rules to configure and make the package. |
jozee@3038 | 17 compile_rules() |
jozee@3038 | 18 { |
jozee@3038 | 19 cd $src |
jozee@3038 | 20 chmod +x configure |
gokhlayeh@11573 | 21 ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared $CONFIGURE_ARGS && |
jozee@3038 | 22 make && |
jozee@3038 | 23 make DESTDIR=$PWD/_pkg install |
jozee@3038 | 24 |
jozee@3038 | 25 } |
jozee@3038 | 26 |
jozee@3038 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3038 | 28 genpkg_rules() |
jozee@3038 | 29 { |
jozee@3038 | 30 mkdir -p $fs/usr/lib |
jozee@3038 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@3038 | 32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
jozee@3038 | 33 |
jozee@3038 | 34 } |