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

hal: rm bashism,update hal-functions path;add missing ntfs-3g hal policy
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 18 13:03:23 2010 +0000 (2010-03-18)
parents
children 3f4b9d12cfc3
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.1.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-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 }