wok view xorg-xsetroot/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 16348b9c0e7c
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xsetroot"
4 VERSION="1.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xsetroot is a tool to configure X root background color."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXmu xorg-libXcursor"
9 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXcursor-dev xorg-xbitmaps"
10 SOURCE="xsetroot"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }