wok-6.x annotate xorg-xinit/receipt @ rev 22458
freedoom: fix link
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 13:04:40 2019 +0000 (2019-12-26) |
parents | 277a89773ba6 |
children | 5d79829fa876 |
rev | line source |
---|---|
jozee@3328 | 1 # SliTaz package receipt. |
jozee@3328 | 2 |
jozee@3328 | 3 PACKAGE="xorg-xinit" |
Hans-G?nter@22287 | 4 VERSION="1.4.1" |
jozee@3328 | 5 CATEGORY="x-window" |
Hans-G?nter@22287 | 6 TAGS="utility xorg" |
Hans-G?nter@22287 | 7 SHORT_DESC="X.org initialization program." |
jozee@3328 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22287 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22287 | 11 |
jozee@3328 | 12 SOURCE="xinit" |
jozee@3328 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22287 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
jozee@3328 | 15 |
pascal@15579 | 16 DEPENDS="xorg-xauth" |
pascal@15579 | 17 BUILD_DEPENDS="xorg-libXmu-dev" |
pascal@15579 | 18 |
jozee@3328 | 19 # Rules to configure and make the package.ls sr |
jozee@3328 | 20 compile_rules() |
jozee@3328 | 21 { |
pascal@8974 | 22 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff |
Hans-G?nter@22287 | 23 |
Hans-G?nter@22287 | 24 ./configure \ |
Hans-G?nter@22287 | 25 --prefix=/usr \ |
Hans-G?nter@22287 | 26 --mandir=/usr/share/man \ |
jozee@3328 | 27 $CONFIGURE_ARGS && |
jozee@3328 | 28 make XINITDIR=/etc/X11/xinit && |
pascal@15579 | 29 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install |
jozee@3328 | 30 } |
jozee@3328 | 31 |
jozee@3328 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3328 | 33 genpkg_rules() |
jozee@3328 | 34 { |
Hans-G?nter@22287 | 35 mkdir -p $fs/usr |
Hans-G?nter@22287 | 36 mkdir -p $fs/etc/X11/xinit |
Hans-G?nter@22287 | 37 |
Hans-G?nter@22287 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22287 | 39 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc |
jozee@3328 | 40 } |
jozee@3328 | 41 |
jozee@3328 | 42 pre_install() |
jozee@3328 | 43 { |
Hans-G?nter@22287 | 44 cp -a /usr/bin/startx /usr/bin/startx.bak |
jozee@3328 | 45 } |