wok-current annotate gpicview/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents 4884337b6445
children 523db8f94fcb
rev   line source
pankso@257 1 # SliTaz package receipt.
pankso@257 2
pankso@257 3 PACKAGE="gpicview"
rcx@3721 4 VERSION="0.2.1"
pankso@257 5 CATEGORY="graphics"
pankso@257 6 SHORT_DESC="Light pictures viewer."
pankso@257 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@15000 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15000 10 WEB_SITE="http://lxde.sourceforge.net/gpicview/"
pascal@15000 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pascal@15000 12
rcx@3721 13 DEPENDS="glibc-base expat glib libgio zlib fontconfig freetype \
rcx@3721 14 gtk+ atk cairo pango pixman jpeg libpng libxcb xcb-util \
rcx@3721 15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
rcx@3721 16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
slaxemulator@8265 17 BUILD_DEPENDS="gtk+-dev xorg-dev intltool"
pankso@257 18
pankso@257 19 # Rules to configure and make the package.
pankso@257 20 compile_rules()
pankso@257 21 {
pankso@257 22 cd $src
pankso@257 23 ./configure \
pankso@257 24 --prefix=/usr \
pankso@257 25 --mandir=/usr/share/man \
pascal@2516 26 $CONFIGURE_ARGS &&
pascal@2516 27 make &&
pascal@15000 28 make DESTDIR=$DESTDIR install
pankso@257 29 }
pankso@257 30
pankso@257 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@257 32 genpkg_rules()
pankso@257 33 {
pankso@257 34 mkdir -p $fs/usr/share
pascal@15000 35 cp -a $install/usr/bin $fs/usr
pascal@15000 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@257 37 }
pankso@257 38