wok-next annotate lensfun/receipt @ rev 20666
Up freeglut (3.0.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 03:09:34 2018 +0300 (2018-05-11) |
parents | dd145c435e4b |
children | 014a4f35b014 |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
slaxemulator@9587 | 2 |
slaxemulator@9587 | 3 PACKAGE="lensfun" |
slaxemulator@9587 | 4 VERSION="0.2.5" |
slaxemulator@9587 | 5 CATEGORY="multimedia" |
al@20464 | 6 SHORT_DESC="Database of photographic lenses and a library that allows advanced \ |
al@20464 | 7 access to the database" |
slaxemulator@9587 | 8 MAINTAINER="slaxemulator@gmail.com" |
pascal@15379 | 9 LICENSE="LGPL3 GPL3" |
al@20464 | 10 WEB_SITE="http://lensfun.berlios.de/" |
al@20464 | 11 |
slaxemulator@9587 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9587 | 13 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@9587 | 14 |
al@20454 | 15 BUILD_DEPENDS="python libpng16 glib-dev" |
al@20464 | 16 SPLIT="lensfun-dev" |
pascal@15379 | 17 |
al@20464 | 18 compile_rules() { |
pascal@17632 | 19 sed -i 's/.*GNU Make*/# &/' configure |
al@20464 | 20 ./configure \ |
al@20464 | 21 --prefix=/usr \ |
al@20464 | 22 --libdir=/usr/lib && |
al@20464 | 23 make all && |
slaxemulator@9587 | 24 make INSTALL_PREFIX="$DESTDIR" install |
slaxemulator@9587 | 25 } |
slaxemulator@9587 | 26 |
al@20464 | 27 genpkg_rules() { |
al@20464 | 28 case $PACKAGE in |
al@20464 | 29 lensfun) |
al@20464 | 30 copy @std |
al@20464 | 31 DEPENDS="glib" |
al@20464 | 32 ;; |
al@20464 | 33 *-dev) |
al@20464 | 34 copy @dev |
al@20464 | 35 ;; |
al@20464 | 36 esac |
slaxemulator@9587 | 37 } |