wok annotate libpano13/receipt @ rev 14594

Add libpano13
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 13:23:03 2013 +0200 (2013-05-27)
parents
children 086841d75237
rev   line source
pascal@14594 1 # SliTaz package receipt.
pascal@14594 2
pascal@14594 3 PACKAGE="libpano13"
pascal@14594 4 VERSION="2.9.18"
pascal@14594 5 CATEGORY="development"
pascal@14594 6 SHORT_DESC="Panorama tools library."
pascal@14594 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14594 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14594 9 WEB_SITE="http://panotools.sourceforge.net/"
pascal@14594 10 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
pascal@14594 11
pascal@14594 12 DEPENDS="libpng jpeg tiff"
pascal@14594 13 BUILD_DEPENDS="bash libpng-dev jpeg-dev tiff-dev"
pascal@14594 14
pascal@14594 15 # Rules to configure and make the package.
pascal@14594 16 compile_rules()
pascal@14594 17 {
pascal@14594 18 cd $src
pascal@14594 19 ./configure --prefix=/usr \
pascal@14594 20 --build=$HOST_SYSTEM \
pascal@14594 21 --host=$HOST_SYSTEM &&
pascal@14594 22 make &&
pascal@14594 23 make DESTDIR=$DESTDIR install
pascal@14594 24 }
pascal@14594 25
pascal@14594 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14594 27 genpkg_rules()
pascal@14594 28 {
pascal@14594 29 mkdir -p $fs/usr/lib
pascal@14594 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14594 31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@14594 32 cp -a $install/usr/bin $fs/usr
pascal@14594 33 }