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

Add ipxe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 03 15:56:21 2012 +0200 (2012-10-03)
parents 940b5937e496
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.3.1"
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 }