wok-next diff 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 |
line diff
1.1 --- a/lensfun/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/lensfun/receipt Fri May 11 03:09:34 2018 +0300 1.3 @@ -1,31 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lensfun" 1.8 VERSION="0.2.5" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" 1.11 +SHORT_DESC="Database of photographic lenses and a library that allows advanced \ 1.12 +access to the database" 1.13 MAINTAINER="slaxemulator@gmail.com" 1.14 LICENSE="LGPL3 GPL3" 1.15 +WEB_SITE="http://lensfun.berlios.de/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://lensfun.berlios.de/" 1.19 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.20 1.21 -DEPENDS="glib" 1.22 BUILD_DEPENDS="python libpng16 glib-dev" 1.23 +SPLIT="lensfun-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 sed -i 's/.*GNU Make*/# &/' configure 1.30 - ./configure --prefix=/usr --libdir=/usr/lib && 1.31 - make all && 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --libdir=/usr/lib && 1.35 + make all && 1.36 make INSTALL_PREFIX="$DESTDIR" install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr/lib $fs/usr/share 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 - cp -a $install/usr/share/lensfun $fs/usr/share 1.45 +genpkg_rules() { 1.46 + case $PACKAGE in 1.47 + lensfun) 1.48 + copy @std 1.49 + DEPENDS="glib" 1.50 + ;; 1.51 + *-dev) 1.52 + copy @dev 1.53 + ;; 1.54 + esac 1.55 }