wok-next annotate exif/receipt @ rev 15588
arj: ugly ack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 16:43:36 2013 +0000 (2013-12-02) |
parents | 635dfef9f1ac |
children | 835b3b8ce6ac |
rev | line source |
---|---|
sygne@2035 | 1 # SliTaz package receipt. |
sygne@2035 | 2 |
sygne@2035 | 3 PACKAGE="exif" |
slaxemulator@9076 | 4 VERSION="0.6.20" |
sygne@2035 | 5 CATEGORY="graphics" |
sygne@2035 | 6 SHORT_DESC="Read exif data from images" |
sygne@2035 | 7 MAINTAINER="sygne@ombres.eu" |
pascal@15588 | 8 LICENSE="LGPL2.1" |
sygne@2035 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
sygne@2035 | 10 WEB_SITE="http://libexif.sourceforge.net/" |
sygne@2035 | 11 WGET_URL="$SF_MIRROR/libexif/$TARBALL" |
sygne@2035 | 12 |
pascal@15588 | 13 DEPENDS="libexif popt" |
pascal@15588 | 14 BUILD_DEPENDS="libexif libexif-dev popt-dev" |
pascal@15588 | 15 |
sygne@2035 | 16 # Rules to configure and make the package. |
sygne@2035 | 17 compile_rules() |
sygne@2035 | 18 { |
sygne@2035 | 19 cd $src |
sygne@2035 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
sygne@2035 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@15588 | 22 make && make DESTDIR=$DESTDIR install |
sygne@2035 | 23 } |
sygne@2035 | 24 |
sygne@2035 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@2035 | 26 genpkg_rules() |
sygne@2035 | 27 { |
sygne@2035 | 28 mkdir -p $fs/usr |
pascal@15588 | 29 cp -a $install/usr/bin $fs/usr |
sygne@2035 | 30 mkdir -p $fs/usr/share/locale |
sygne@2035 | 31 for LOCALE in de es fr |
sygne@2035 | 32 do |
pascal@15588 | 33 cp -a -r $install/usr/share/locale/$LOCALE $fs/usr/share/locale |
sygne@2035 | 34 done |
sygne@2035 | 35 } |