wok-6.x annotate lensfun/receipt @ rev 13291
Up sslh (1.13)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 15:45:50 2012 +0200 (2012-08-27) |
parents | 403c9f8b5925 |
children | 2a5cc8208d36 |
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" |
pascal@12585 | 9 BUILD_DEPENDS="python libpng glib-dev" |
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 |