wok view xorg-xinit/receipt @ rev 7161
Fixed mesa to compile in clean chroot. Mesa also doesn't need talloc as depend to run.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:23:23 2010 +0000 (2010-11-07) |
parents | 3f4b9d12cfc3 |
children | 347ef7afaeef |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.2.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 }