wok-4.x annotate exif/receipt @ rev 12073
tuxtype: fix bdeps & ensure properly placed files
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 05:11:48 2012 +0100 (2012-03-09) |
parents | e2dd4c43c979 |
children |
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" |
sygne@2035 | 8 DEPENDS="libexif popt" |
pascal@8948 | 9 BUILD_DEPENDS="libexif libexif-dev popt-dev" |
sygne@2035 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
sygne@2035 | 11 WEB_SITE="http://libexif.sourceforge.net/" |
sygne@2035 | 12 WGET_URL="$SF_MIRROR/libexif/$TARBALL" |
sygne@2035 | 13 |
sygne@2035 | 14 # Rules to configure and make the package. |
sygne@2035 | 15 compile_rules() |
sygne@2035 | 16 { |
sygne@2035 | 17 cd $src |
sygne@2035 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
sygne@2035 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
sygne@2035 | 20 make && make DESTDIR=$PWD/_pkg install |
sygne@2035 | 21 } |
sygne@2035 | 22 |
sygne@2035 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@2035 | 24 genpkg_rules() |
sygne@2035 | 25 { |
sygne@2035 | 26 mkdir -p $fs/usr |
sygne@2035 | 27 cp -a $_pkg/usr/bin $fs/usr |
sygne@2035 | 28 mkdir -p $fs/usr/share/locale |
sygne@2035 | 29 for LOCALE in de es fr |
sygne@2035 | 30 do |
sygne@2035 | 31 cp -a -r $_pkg/usr/share/locale/$LOCALE $fs/usr/share/locale |
sygne@2035 | 32 done |
sygne@2035 | 33 } |
sygne@2035 | 34 |