wok-4.x view xorg-xinit/receipt @ rev 3573

Update: apply patch once. ssmtp: fix post_install link target path. scim: fix chroot in post_install.
pa
author Liu Peng <rocky@slitaz.org>
date Fri Jun 26 00:18:25 2009 +0800 (2009-06-26)
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 }