wok view libpano13/receipt @ rev 18596

libsdl: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 17:31:47 2015 +0200 (2015-11-13)
parents 423935b2ad7a
children eb55bc8c389d
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="libpng jpeg tiff"
14 BUILD_DEPENDS="bash libpng-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 }