wok-current view xorg-xinit/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
parents 940b5937e496
children eb8067417980
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 SOURCE="xinit"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 DEPENDS="xorg-xauth"
11 BUILD_DEPENDS="xorg-libXmu-dev"
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 }