wok-6.x diff jasper/receipt @ rev 3322

add file-dev | need magic.h for splashy
author Allan Pinto <allan316@gmail.com>
date Tue Jun 09 18:38:41 2009 +0000 (2009-06-09)
parents
children 8d3f3ded1725
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jasper/receipt	Tue Jun 09 18:38:41 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jasper"
     1.7 +VERSION="1.900.1"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="implementation of JPEG-2000 codec"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="xorg-libXi xorg-libXmu jpeg "
    1.12 +BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 
    1.15 +WGET_URL="$WEB_SITE/software/$TARBALL"
    1.16 +TAGS="jpeg jpg photo"
    1.17 +
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +   	cd $src
    1.23 +	chmod +x configure
    1.24 +	./configure --prefix=/usr --mandir=/usr/share/man --enable-shared &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +	
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +    mkdir -p $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib	
    1.36 +	
    1.37 +}