wok view xorg-xinit/receipt @ rev 24428
updated cmus (2.8.0 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 14:59:37 2022 +0100 (2022-02-12) |
parents | babd38118a53 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xinit"
4 VERSION="1.4.1"
5 CATEGORY="x-window"
6 TAGS="utility xorg"
7 SHORT_DESC="X.org initialization program."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xinit"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/app/$TARBALL"
16 DEPENDS="xorg-xauth"
17 BUILD_DEPENDS="xorg-libXmu-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.ls sr
26 compile_rules()
27 {
28 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make XINITDIR=/etc/X11/xinit &&
35 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 mkdir -p $fs/etc/X11/xinit
44 cp -a $install/usr/bin $fs/usr
45 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc
46 }
48 pre_install()
49 {
50 cp -a /usr/bin/startx /usr/bin/startx.bak
51 }