wok annotate lensfun/receipt @ rev 18372

Add rspamd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 18:50:42 2015 +0200 (2015-09-16)
parents 2a5cc8208d36
children eeba7ab1dffe
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 {
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 }