wok diff exiv2/receipt @ rev 3699

Up:mpd , fix WGET_URL, improve configure options
author Rohit Joshi <jozee@slitaz.org>
date Fri Jul 17 07:53:41 2009 +0000 (2009-07-17)
parents
children ec142b71c3e7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/exiv2/receipt	Fri Jul 17 07:53:41 2009 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="exiv2"
     1.7 +VERSION="0.17.1"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Exif and Iptc metadata manipulation library and tools"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="expat zlib"
    1.12 +BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.exiv2.org/" 
    1.15 +WGET_URL="$WEB_SITE/$TARBALL"
    1.16 +
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +   	cd $src
    1.22 +	./configure --prefix=/usr 
    1.23 +	make
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +	
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +    mkdir -p $fs/usr/bin 
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib	
    1.35 +
    1.36 +}