wok-stable diff lensfun/receipt @ rev 9827

gcc3: should fix the build
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 15 16:30:57 2011 +0200 (2011-05-15)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lensfun/receipt	Sun May 15 16:30:57 2011 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lensfun"
     1.7 +VERSION="0.2.5"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glib"
    1.12 +BUILD_DEPENDS="python libpng"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://lensfun.berlios.de/"
    1.15 +WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --libdir=/usr/lib && 
    1.22 +	make all && 
    1.23 +	make INSTALL_PREFIX="$DESTDIR" install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.31 +	cp -a $_pkg/usr/share/lensfun $fs/usr/share
    1.32 +}
    1.33 +