wok view gtkdialog/receipt @ rev 24942

BootProg: clear cmdline
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 20 15:10:50 2022 +0000 (2022-04-20)
parents d0367b4ba4b3
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkdialog"
4 VERSION="0.8.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Small utility for fast and easy GUI building using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/oshazard/gtkdialog"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base \
14 gdk-pixbuf glib glibc-base gtk+ libffi libgio libglade libpng libxcb \
15 libxml2 pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \
16 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
17 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
18 BUILD_DEPENDS="gtk+-dev libglade-dev vte-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
24 sed '/released/!d;s|.*Version ||;s| released.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/icons $fs/usr/share
41 }