wok-next view xorg-xinit/receipt @ rev 8029

Add all xorg changes from wok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jan 19 19:41:12 2011 +0000 (2011-01-19)
parents 0c592641eae2
children 940b5937e496
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 }