wok-current annotate lensfun/receipt @ rev 15379
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 20 22:08:25 2013 +0000 (2013-10-20) |
parents | cdf0429a5242 |
children | 2f93056a863f |
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" |
pascal@15379 | 8 LICENSE="LGPL3 GPL3" |
slaxemulator@9587 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9587 | 10 WEB_SITE="http://lensfun.berlios.de/" |
slaxemulator@9587 | 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@9587 | 12 |
pascal@15379 | 13 DEPENDS="glib" |
pascal@15379 | 14 BUILD_DEPENDS="python libpng glib-dev" |
pascal@15379 | 15 |
slaxemulator@9587 | 16 # Rules to configure and make the package. |
slaxemulator@9587 | 17 compile_rules() |
slaxemulator@9587 | 18 { |
slaxemulator@9587 | 19 cd $src |
slaxemulator@9587 | 20 ./configure --prefix=/usr --libdir=/usr/lib && |
slaxemulator@9587 | 21 make all && |
slaxemulator@9587 | 22 make INSTALL_PREFIX="$DESTDIR" install |
slaxemulator@9587 | 23 } |
slaxemulator@9587 | 24 |
slaxemulator@9587 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9587 | 26 genpkg_rules() |
slaxemulator@9587 | 27 { |
slaxemulator@9587 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15379 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15379 | 30 cp -a $install/usr/share/lensfun $fs/usr/share |
slaxemulator@9587 | 31 } |
slaxemulator@9587 | 32 |