wok-next view libpano13/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 086841d75237
children 4396aed7eb01
line source
1 # SliTaz package receipt.
3 PACKAGE="libpano13"
4 VERSION="2.9.18"
5 CATEGORY="development"
6 SHORT_DESC="Panorama tools library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://panotools.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
13 DEPENDS="libpng16 jpeg tiff"
14 BUILD_DEPENDS="bash libpng16-dev jpeg-dev tiff-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 }