wok-current annotate gtkdialog/receipt @ rev 2794
Add FLTK 2.0.x (Fast Light Tool Kit devel branch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 28 15:37:11 2009 +0200 (2009-04-28) |
parents | 8b79c3ee7ac2 |
children | 0b4cf0d9e1b5 |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="gtkdialog" |
pascal@1570 | 4 VERSION="0.7.20" |
pankso@28 | 5 CATEGORY="x-window" |
pankso@28 | 6 SHORT_DESC="Small utility for fast and easy GUI building using GTK+." |
pankso@28 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ libglade xorg-libXdamage" |
pankso@2576 | 9 BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev" |
pankso@28 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@28 | 11 WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/" |
pascal@1570 | 12 WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL" |
pankso@28 | 13 |
pankso@28 | 14 # Rules to configure and make the package. |
pankso@28 | 15 compile_rules() |
pankso@28 | 16 { |
pankso@28 | 17 cd $src |
pankso@2576 | 18 # Fix libgalde support |
pankso@2576 | 19 patch -p 0 < ../stuff/glade_support.patch || exit 1 |
pankso@764 | 20 ./configure \ |
pankso@764 | 21 --prefix=/usr \ |
pankso@764 | 22 --infodir=/usr/share/info \ |
pankso@764 | 23 --mandir=/usr/share/man \ |
pascal@1518 | 24 $CONFIGURE_ARGS && |
pascal@1518 | 25 make && |
pankso@28 | 26 make DESTDIR=$PWD/_pkg install |
pankso@28 | 27 } |
pankso@28 | 28 |
pankso@28 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 30 genpkg_rules() |
pankso@28 | 31 { |
pankso@28 | 32 mkdir -p $fs/usr/share/examples |
pankso@28 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 34 # Fiew examples. |
pankso@28 | 35 cp -a stuff/examples $fs/usr/share/examples/gtkdialog |
pankso@28 | 36 } |
pankso@28 | 37 |