wok view xorg-xinit/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents 277a89773ba6
children 5d79829fa876
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 # Rules to configure and make the package.ls sr
20 compile_rules()
21 {
22 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make XINITDIR=/etc/X11/xinit &&
29 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 mkdir -p $fs/etc/X11/xinit
38 cp -a $install/usr/bin $fs/usr
39 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc
40 }
42 pre_install()
43 {
44 cp -a /usr/bin/startx /usr/bin/startx.bak
45 }