wok view Xdialog/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | |
children | 380ffe05937a |
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 DEPENDS="glibc-base glib libgio expat zlib fontconfig freetype gtk+ atk \
9 cairo pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
10 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
12 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 gettext gtk+ gtk+-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://xdialog.free.fr/"
15 WGET_URL="http://xdialog.free.fr/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 autoconf &&
22 ./configure \
23 --with-gtk2 \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --infodir=/usr/share/info \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/usr/bin $fs/usr
38 }