wok-current annotate exif/receipt @ rev 5295

openssh*: fix genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 23:05:05 2010 +0200 (2010-04-18)
parents
children e2dd4c43c979
rev   line source
sygne@2035 1 # SliTaz package receipt.
sygne@2035 2
sygne@2035 3 PACKAGE="exif"
sygne@2035 4 VERSION="0.6.17"
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"
sygne@2035 9 BUILD_DEPENDS="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