wok-stable annotate xorg-xinit/receipt @ rev 3428
Up: mc (0.6.2) and remove dep on libiconv
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 13 13:23:18 2009 +0200 (2009-06-13) |
parents | |
children | 3f4b9d12cfc3 |
rev | line source |
---|---|
jozee@3328 | 1 # SliTaz package receipt. |
jozee@3328 | 2 |
jozee@3328 | 3 PACKAGE="xorg-xinit" |
jozee@3328 | 4 VERSION="1.1.1" |
jozee@3328 | 5 CATEGORY="x-window" |
jozee@3328 | 6 SHORT_DESC="X.org initialization program" |
jozee@3328 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3328 | 8 SOURCE="xinit" |
jozee@3328 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@3328 | 10 DEPENDS="xorg-libX11 xorg-xauth" |
jozee@3328 | 11 BUILD_DEPENDS="xorg-dev" |
jozee@3328 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3328 | 13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3328 | 14 TAGS="utility xorg" |
jozee@3328 | 15 |
jozee@3328 | 16 # Rules to configure and make the package.ls sr |
jozee@3328 | 17 compile_rules() |
jozee@3328 | 18 { |
jozee@3328 | 19 cd $src |
jozee@3328 | 20 ./configure \ |
jozee@3328 | 21 --prefix=/usr \ |
jozee@3328 | 22 --mandir=/usr/share/man \ |
jozee@3328 | 23 $CONFIGURE_ARGS && |
jozee@3328 | 24 make XINITDIR=/etc/X11/xinit && |
jozee@3328 | 25 make XINITDIR=/etc/X11/xinit DESTDIR=$PWD/_pkg install |
jozee@3328 | 26 } |
jozee@3328 | 27 |
jozee@3328 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3328 | 29 genpkg_rules() |
jozee@3328 | 30 { |
jozee@3328 | 31 mkdir -p $fs/usr |
jozee@3328 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@3328 | 33 } |
jozee@3328 | 34 |
jozee@3328 | 35 pre_install() |
jozee@3328 | 36 { |
jozee@3328 | 37 cp -a /usr/bin/startx /usr/bin/startx.bak |
jozee@3328 | 38 } |