wok view exif/receipt @ rev 9057

centerim: use $DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:48:11 2011 +0100 (2011-03-04)
parents a9ccb18e971d
children 635dfef9f1ac
line source
1 # SliTaz package receipt.
3 PACKAGE="exif"
4 VERSION="0.6.17"
5 CATEGORY="graphics"
6 SHORT_DESC="Read exif data from images"
7 MAINTAINER="sygne@ombres.eu"
8 DEPENDS="libexif popt"
9 BUILD_DEPENDS="libexif libexif-dev popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://libexif.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/libexif/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS && \
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 mkdir -p $fs/usr/share/locale
29 for LOCALE in de es fr
30 do
31 cp -a -r $_pkg/usr/share/locale/$LOCALE $fs/usr/share/locale
32 done
33 }