wok annotate lensfun/receipt @ rev 11400
Fix: typo in linux && linux-libre receipts (thanks to godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 11 02:12:34 2011 +0100 (2011-12-11) |
parents | |
children | cdf0429a5242 |
rev | line source |
---|---|
slaxemulator@9587 | 1 # SliTaz package receipt. |
slaxemulator@9587 | 2 |
slaxemulator@9587 | 3 PACKAGE="lensfun" |
slaxemulator@9587 | 4 VERSION="0.2.5" |
slaxemulator@9587 | 5 CATEGORY="multimedia" |
slaxemulator@9587 | 6 SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" |
slaxemulator@9587 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9587 | 8 DEPENDS="glib" |
slaxemulator@9587 | 9 BUILD_DEPENDS="python libpng" |
slaxemulator@9587 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9587 | 11 WEB_SITE="http://lensfun.berlios.de/" |
slaxemulator@9587 | 12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@9587 | 13 |
slaxemulator@9587 | 14 # Rules to configure and make the package. |
slaxemulator@9587 | 15 compile_rules() |
slaxemulator@9587 | 16 { |
slaxemulator@9587 | 17 cd $src |
slaxemulator@9587 | 18 ./configure --prefix=/usr --libdir=/usr/lib && |
slaxemulator@9587 | 19 make all && |
slaxemulator@9587 | 20 make INSTALL_PREFIX="$DESTDIR" install |
slaxemulator@9587 | 21 } |
slaxemulator@9587 | 22 |
slaxemulator@9587 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9587 | 24 genpkg_rules() |
slaxemulator@9587 | 25 { |
slaxemulator@9587 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@9587 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@9587 | 28 cp -a $_pkg/usr/share/lensfun $fs/usr/share |
slaxemulator@9587 | 29 } |
slaxemulator@9587 | 30 |