SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-xinit"

# SliTaz package receipt.

PACKAGE="xorg-xinit"
VERSION="1.3.1"
CATEGORY="x-window"
SHORT_DESC="X.org initialization program"
MAINTAINER="jozee@slitaz.org"
SOURCE="xinit"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="xorg-xauth"
BUILD_DEPENDS="xorg-libXmu-dev"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
TAGS="utility xorg"

# Rules to configure and make the package.ls sr    
compile_rules()
{
    cd $src
    patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff
    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make XINITDIR=/etc/X11/xinit &&
    make XINITDIR=/etc/X11/xinit DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/etc/X11/xinit
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc
}

pre_install()
{
    cp -a /usr/bin/startx /usr/bin/startx.bak
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)