SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-server-light"

# SliTaz package receipt.

PACKAGE="xorg-server-light"
VERSION="1.9.5"
CATEGORY="x-window"
SHORT_DESC="Xorg core server light version (no dri, gl, and friends)."
MAINTAINER="pankso@slitaz.org"
SUGGESTED="xorg-xf86-video-vesa"
SOURCE="xorg-server"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
PROVIDE="xorg-server"

DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev \
xorg-xf86-input-evdev"
BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev perl flex xorg-dev-proto"

# Rules to configure and make the package.
compile_rules()
{
    #CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
    #CXXFLAGS="$CFLAGS"
    # Sizes: 792.0K with -Os and 968.0K
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --with-module-dir=/usr/lib/X11/modules \
        --with-xkb-output=/var/lib/xkb \
        --with-serverconfig-path=/etc/X11 \
        --enable-install-setuid \
        --enable-xorg \
        --enable-config-udev \
        --disable-config-dbus \
        --with-fontrootdir=/usr/share/fonts \
        --with-os-name="SliTaz GNU/Linux" \
        --with-builder-addr=$MAINTAINER \
        --disable-screensaver \
        --disable-glx \
        --disable-dri \
        --disable-dri2 \
        --disable-xinerama \
        --disable-libdrm \
        --disable-xvfb \
        --disable-xnest \
        --disable-xfbdev \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
    cp -a $_pkg/usr/lib/X11 $fs/usr/lib
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/var/lib $fs/var
    cp -a $_pkg/etc $fs
    # Remove static libs and split Xnest
    rm $fs/usr/lib/X11/*/*.*a
    rm $fs/usr/lib/X11/*/*/*.*a
}

# We need /var/tmp rw to let xkbcomp builr XKB definition.
post_install()
{
    chmod 1777 $1/var/tmp
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)