wok-next view lensfun/receipt @ rev 17726
glibc-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 21:54:05 2015 +0100 (2015-03-05) |
parents | 2a5cc8208d36 |
children | dd145c435e4b |
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 }