wok view xorg-xinit/receipt @ rev 7978

Fix: sane-backends needs -j1 to install
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:58:28 2011 +0100 (2011-01-17)
parents 347ef7afaeef
children c514cc4854d8
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-libX11 xorg-xauth"
11 BUILD_DEPENDS="xorg-dev pkg-config"
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 }