wok-current view xorg-xinit/receipt @ rev 9854
tint2: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 12:24:37 2011 +0200 (2011-05-16) |
parents | c514cc4854d8 |
children | 94c875a8a7ee |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X.org initialization program"
7 MAINTAINER="jozee@slitaz.org"
8 SOURCE="xinit"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 DEPENDS="xorg-xauth"
11 BUILD_DEPENDS="xorg-libXmu-dev"
12 WEB_SITE="http://xorg.freedesktop.org/"
13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
14 TAGS="utility xorg"
16 # Rules to configure and make the package.ls sr
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make XINITDIR=/etc/X11/xinit &&
26 make XINITDIR=/etc/X11/xinit DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc/X11/xinit
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc
35 }
37 pre_install()
38 {
39 cp -a /usr/bin/startx /usr/bin/startx.bak
40 }