wok-current view lensfun/receipt @ rev 20291

elilo: mkdir $install/usr/share (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 16 11:16:22 2018 +0200 (2018-04-16)
parents 2a5cc8208d36
children eeba7ab1dffe
line source
1 # SliTaz package receipt.
3 PACKAGE="lensfun"
4 VERSION="0.2.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL3 GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://lensfun.berlios.de/"
11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="python libpng glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/.*GNU Make*/# &/' configure
20 ./configure --prefix=/usr --libdir=/usr/lib &&
21 make all &&
22 make INSTALL_PREFIX="$DESTDIR" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/usr/share/lensfun $fs/usr/share
31 }