wok-next annotate libpano13/receipt @ rev 16724

Add cgal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 02 20:08:48 2014 +0000 (2014-06-02)
parents 423935b2ad7a
children dd145c435e4b
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@14716 8 LICENSE="GPL2"
pascal@14594 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14594 10 WEB_SITE="http://panotools.sourceforge.net/"
pascal@14594 11 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
pascal@14594 12
pascal@14594 13 DEPENDS="libpng jpeg tiff"
pascal@14594 14 BUILD_DEPENDS="bash libpng-dev jpeg-dev tiff-dev"
pascal@14594 15
pascal@14594 16 # Rules to configure and make the package.
pascal@14594 17 compile_rules()
pascal@14594 18 {
pascal@14594 19 cd $src
pascal@14594 20 ./configure --prefix=/usr \
pascal@14594 21 --build=$HOST_SYSTEM \
pascal@14594 22 --host=$HOST_SYSTEM &&
pascal@14594 23 make &&
pascal@14594 24 make DESTDIR=$DESTDIR install
pascal@14594 25 }
pascal@14594 26
pascal@14594 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14594 28 genpkg_rules()
pascal@14594 29 {
pascal@14594 30 mkdir -p $fs/usr/lib
pascal@14594 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14594 32 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@14594 33 cp -a $install/usr/bin $fs/usr
pascal@14594 34 }