wok-next annotate libpano13/receipt @ rev 20488
palemoon: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 11:00:54 2018 +0100 (2018-03-12) |
parents | dd145c435e4b |
children | 9e5dca6702bf |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@14594 | 2 |
pascal@14594 | 3 PACKAGE="libpano13" |
pascal@14594 | 4 VERSION="2.9.18" |
pascal@14594 | 5 CATEGORY="development" |
al@20464 | 6 SHORT_DESC="Panorama tools library" |
pascal@14594 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14716 | 8 LICENSE="GPL2" |
al@20464 | 9 WEB_SITE="http://panotools.sourceforge.net/" |
al@20464 | 10 |
pascal@14594 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14594 | 12 WGET_URL="$SF_MIRROR/panotools/$TARBALL" |
pascal@14594 | 13 |
al@20454 | 14 BUILD_DEPENDS="bash libpng16-dev jpeg-dev tiff-dev" |
al@20464 | 15 SPLIT="libpano13-dev" |
pascal@14594 | 16 |
al@20464 | 17 compile_rules() { |
al@20464 | 18 ./configure \ |
al@20464 | 19 --prefix=/usr \ |
al@20464 | 20 $CONFIGURE_ARGS && |
pascal@14594 | 21 make && |
pascal@14594 | 22 make DESTDIR=$DESTDIR install |
pascal@14594 | 23 } |
pascal@14594 | 24 |
al@20464 | 25 genpkg_rules() { |
al@20464 | 26 case $PACKAGE in |
al@20464 | 27 libpano13) |
al@20464 | 28 mkdir -p $fs/usr/lib |
al@20464 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20464 | 30 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@20464 | 31 cp -a $install/usr/bin $fs/usr |
al@20464 | 32 DEPENDS="libpng16 jpeg tiff" |
al@20464 | 33 ;; |
al@20464 | 34 *-dev) |
al@20464 | 35 mkdir -p $fs/usr/lib |
al@20464 | 36 cp -a $install/usr/include $fs/usr |
al@20464 | 37 cp -a $install/usr/lib/*a $fs/usr/lib |
al@20464 | 38 ;; |
al@20464 | 39 esac |
pascal@14594 | 40 } |