wok-next view xorg-xinit/receipt @ rev 6961

xorg-server: add config dir
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Oct 26 13:15:37 2010 +0200 (2010-10-26)
parents 776b87db3148
children 07ae722ec64e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.2.0"
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-libX11 xorg-xauth"
11 BUILD_DEPENDS="xorg-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 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make XINITDIR=/etc/X11/xinit &&
25 make XINITDIR=/etc/X11/xinit DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }
35 pre_install()
36 {
37 cp -a /usr/bin/startx /usr/bin/startx.bak
38 }