wok-current view exiv2/receipt @ rev 13672
cc65: fix compile_rules
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sat Nov 24 21:10:34 2012 +0100 (2012-11-24) | 
| parents | 9a591e946b0d | 
| children | fcdd50638150 | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="exiv2"
     4 VERSION="0.21"
     5 CATEGORY="graphics"
     6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools"
     7 MAINTAINER="jozee@slitaz.org"
     8 DEPENDS="expat zlib gcc-lib-base"
     9 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev"
    10 TARBALL="$PACKAGE-$VERSION.tar.gz"
    11 WEB_SITE="http://www.exiv2.org/"
    12 WGET_URL="$WEB_SITE/$TARBALL"
    14 # Rules to configure and make the package.
    15 compile_rules()
    16 {
    17    	cd $src
    18 	./configure \
    19 		--prefix=/usr \
    20 		$CONFIGURE_ARGS &&
    21 	make &&
    22 	make DESTDIR=$PWD/_pkg install
    23 }
    25 # Rules to gen a SliTaz package suitable for Tazpkg.
    26 genpkg_rules()
    27 {
    28 	mkdir -p $fs/usr/lib
    29 	cp -a $_pkg/usr/bin $fs/usr
    30 	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    31 }