wok-current annotate xorg-xinit/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (22 months ago) |
parents | babd38118a53 |
children |
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 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
jozee@3328 | 25 # Rules to configure and make the package.ls sr |
jozee@3328 | 26 compile_rules() |
jozee@3328 | 27 { |
pascal@8974 | 28 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff |
Hans-G?nter@22287 | 29 |
Hans-G?nter@22287 | 30 ./configure \ |
Hans-G?nter@22287 | 31 --prefix=/usr \ |
Hans-G?nter@22287 | 32 --mandir=/usr/share/man \ |
jozee@3328 | 33 $CONFIGURE_ARGS && |
jozee@3328 | 34 make XINITDIR=/etc/X11/xinit && |
pascal@15579 | 35 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install |
jozee@3328 | 36 } |
jozee@3328 | 37 |
jozee@3328 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3328 | 39 genpkg_rules() |
jozee@3328 | 40 { |
Hans-G?nter@22287 | 41 mkdir -p $fs/usr |
Hans-G?nter@22287 | 42 mkdir -p $fs/etc/X11/xinit |
Hans-G?nter@22287 | 43 |
Hans-G?nter@22287 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22287 | 45 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc |
jozee@3328 | 46 } |
jozee@3328 | 47 |
jozee@3328 | 48 pre_install() |
jozee@3328 | 49 { |
Hans-G?nter@22287 | 50 cp -a /usr/bin/startx /usr/bin/startx.bak |
jozee@3328 | 51 } |