wok view Xdialog/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | 11b5e93cb5f2 |
children | cc893214701f |
line source
1 # SliTaz package receipt.
3 PACKAGE="Xdialog"
4 VERSION="2.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Like 'dialog' or 'cdialog', but for X using GTK+."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xdialog.free.fr/"
11 WGET_URL="http://xdialog.free.fr/$TARBALL"
13 DEPENDS="glibc-base glib libgio expat zlib fontconfig freetype gtk+ atk \
14 cairo pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
17 BUILD_DEPENDS="autoconf automake m4 gettext gtk+-dev"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/current release is/!d;s|.*v||;s|. .*||'
23 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoconf &&
28 ./configure \
29 --with-gtk2 \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --infodir=/usr/share/info \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }