wok annotate gpicview/receipt @ rev 5721

clamav: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 24 17:10:47 2010 +0200 (2010-06-24)
parents 4872ce496b05
children 4884337b6445
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"
rcx@3721 8 DEPENDS="glibc-base expat glib libgio zlib fontconfig freetype \
rcx@3721 9 gtk+ atk cairo pango pixman jpeg libpng libxcb xcb-util \
rcx@3721 10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
rcx@3721 11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
pankso@257 12 BUILD_DEPENDS="gtk+-dev xorg-dev"
pankso@257 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@257 14 WEB_SITE="http://lxde.sourceforge.net/gpicview/"
pankso@257 15 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@257 16
pankso@257 17 # Rules to configure and make the package.
pankso@257 18 compile_rules()
pankso@257 19 {
pankso@257 20 cd $src
pankso@257 21 ./configure \
pankso@257 22 --prefix=/usr \
pankso@257 23 --mandir=/usr/share/man \
pascal@2516 24 $CONFIGURE_ARGS &&
pascal@2516 25 make &&
pankso@257 26 make DESTDIR=$PWD/_pkg install
pankso@257 27 }
pankso@257 28
pankso@257 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@257 30 genpkg_rules()
pankso@257 31 {
pankso@257 32 mkdir -p $fs/usr/share
pankso@257 33 cp -a $_pkg/usr/bin $fs/usr
pankso@257 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@257 35 }
pankso@257 36