wok-6.x view xorg-xinit/receipt @ rev 19352

Up ncdu (1.11)
author Paul Issott <paul@slitaz.org>
date Sun Jul 24 19:13:10 2016 +0100 (2016-07-24)
parents eb8067417980
children babd38118a53
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.3.4"
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 }