wok-current annotate lensfun/receipt @ rev 21020
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 14:33:01 2019 +0100 (2019-03-10) |
parents | 2f93056a863f |
children | a1e9a41ba028 |
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" |
pascal@20674 | 10 WEB_SITE="http://lensfun.sourceforge.net/" |
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 { |
pascal@17632 | 19 sed -i 's/.*GNU Make*/# &/' configure |
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 } |