#Maintainer: Christopher Rey P. Baluyut pkgname=lensfun pkgver=0.2.3 pkgrel=1 zenver=62 arch=i486 source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=('README') url="http://lensfun.berlios.de/" extradepends=('cxxlibs' 'gcc' 'glib2') options=('norequiredbuilder') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lensfun (Photographic lens characteristics database library)" "lensfun is a library that provide a open source database of" "photographic lenses and their characteristics also provides" "a set of algorithms for correcting images based on detailed" "knowledge of lens properties and calibration data." ) build() { LDFLAGS="" CXXFLAGS="-O2 -march=i486 -mtune=i686" CFLAGS="-O2 -march=i486 -mtune=i686" cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --docdir=/usr/doc/$pkgname-$pkgver || exit 1 make install DESTDIR=$startdir/pkg || exit 1 }