# SliTaz package receipt.

PACKAGE="exif"
VERSION="0.6.20"
CATEGORY="graphics"
SHORT_DESC="Read exif data from images"
MAINTAINER="sygne@ombres.eu"
DEPENDS="libexif popt"
BUILD_DEPENDS="libexif libexif-dev popt-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://libexif.sourceforge.net/"
WGET_URL="$SF_MIRROR/libexif/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--mandir=/usr/share/man $CONFIGURE_ARGS && \
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
	mkdir -p $fs/usr/share/locale
	for LOCALE in de es fr
		do
		cp -a -r  $_pkg/usr/share/locale/$LOCALE $fs/usr/share/locale
		done
}