wok view xorg-xinit/receipt @ rev 16449

ARM: add lockdis + nmap and improve Dillo integration in slitaz
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 19 01:25:01 2014 +0200 (2014-04-19)
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 }