wok-6.x annotate xorg-xinit/receipt @ rev 7326
Added xserverrc to stop X from listen to port 6000 in xorg-xinit. Added patch to move .serverauth.XX to /tmp to its removed on reboot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 18 19:12:26 2010 +0000 (2010-11-18) |
parents | 347ef7afaeef |
children | c514cc4854d8 |
rev | line source |
---|---|
jozee@3328 | 1 # SliTaz package receipt. |
jozee@3328 | 2 |
jozee@3328 | 3 PACKAGE="xorg-xinit" |
slaxemulator@7314 | 4 VERSION="1.3.0" |
jozee@3328 | 5 CATEGORY="x-window" |
jozee@3328 | 6 SHORT_DESC="X.org initialization program" |
jozee@3328 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3328 | 8 SOURCE="xinit" |
jozee@3328 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@3328 | 10 DEPENDS="xorg-libX11 xorg-xauth" |
slaxemulator@7314 | 11 BUILD_DEPENDS="xorg-dev pkg-config" |
jozee@3328 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3328 | 13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3328 | 14 TAGS="utility xorg" |
jozee@3328 | 15 |
jozee@3328 | 16 # Rules to configure and make the package.ls sr |
jozee@3328 | 17 compile_rules() |
jozee@3328 | 18 { |
jozee@3328 | 19 cd $src |
slaxemulator@7326 | 20 patch -Np1 -i ../stuff/06_move_serverauthfile_into_tmp.diff |
jozee@3328 | 21 ./configure \ |
jozee@3328 | 22 --prefix=/usr \ |
jozee@3328 | 23 --mandir=/usr/share/man \ |
jozee@3328 | 24 $CONFIGURE_ARGS && |
jozee@3328 | 25 make XINITDIR=/etc/X11/xinit && |
jozee@3328 | 26 make XINITDIR=/etc/X11/xinit DESTDIR=$PWD/_pkg install |
jozee@3328 | 27 } |
jozee@3328 | 28 |
jozee@3328 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3328 | 30 genpkg_rules() |
jozee@3328 | 31 { |
slaxemulator@7326 | 32 mkdir -p $fs/usr $fs/etc/X11/xinit |
slaxemulator@7326 | 33 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7326 | 34 cp -a stuff/xserverrc $fs/etc/X11/xinit/xserverrc |
jozee@3328 | 35 } |
jozee@3328 | 36 |
jozee@3328 | 37 pre_install() |
jozee@3328 | 38 { |
jozee@3328 | 39 cp -a /usr/bin/startx /usr/bin/startx.bak |
jozee@3328 | 40 } |