wok-current annotate lensfun/receipt @ rev 10871
gpodder: Fixed genpkg_rules. Saved 150kb off the package size.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 19 11:45:40 2011 +0000 (2011-06-19) |
parents | |
children | cdf0429a5242 |
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" |
slaxemulator@9587 | 8 DEPENDS="glib" |
slaxemulator@9587 | 9 BUILD_DEPENDS="python libpng" |
slaxemulator@9587 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9587 | 11 WEB_SITE="http://lensfun.berlios.de/" |
slaxemulator@9587 | 12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
slaxemulator@9587 | 13 |
slaxemulator@9587 | 14 # Rules to configure and make the package. |
slaxemulator@9587 | 15 compile_rules() |
slaxemulator@9587 | 16 { |
slaxemulator@9587 | 17 cd $src |
slaxemulator@9587 | 18 ./configure --prefix=/usr --libdir=/usr/lib && |
slaxemulator@9587 | 19 make all && |
slaxemulator@9587 | 20 make INSTALL_PREFIX="$DESTDIR" install |
slaxemulator@9587 | 21 } |
slaxemulator@9587 | 22 |
slaxemulator@9587 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9587 | 24 genpkg_rules() |
slaxemulator@9587 | 25 { |
slaxemulator@9587 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@9587 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@9587 | 28 cp -a $_pkg/usr/share/lensfun $fs/usr/share |
slaxemulator@9587 | 29 } |
slaxemulator@9587 | 30 |