wok view xorg-xinit/receipt @ rev 16557

Up: slitaz-base-files (5.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 08:34:51 2014 +0200 (2014-05-01)
parents 94c875a8a7ee
children 277a89773ba6
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 LICENSE="MIT"
9 SOURCE="xinit"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://xorg.freedesktop.org/"
12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
13 TAGS="utility xorg"
15 DEPENDS="xorg-xauth"
16 BUILD_DEPENDS="xorg-libXmu-dev"
18 # Rules to configure and make the package.ls sr
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make XINITDIR=/etc/X11/xinit &&
28 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc/X11/xinit
35 cp -a $install/usr/bin $fs/usr
36 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc
37 }
39 pre_install()
40 {
41 cp -a /usr/bin/startx /usr/bin/startx.bak
42 }