wok annotate xorg-server-light/receipt @ rev 21952

updated squashfs (4.3 -> 4.4)
author Hans-G?nter Theisgen
date Wed Oct 09 15:50:26 2019 +0100 (2019-10-09)
parents 8cc54665b2b3
children 5d79829fa876
rev   line source
pankso@10645 1 # SliTaz package receipt.
pankso@10645 2
pankso@10645 3 PACKAGE="xorg-server-light"
pankso@16080 4 VERSION="1.12.4"
pankso@10645 5 CATEGORY="x-window"
pankso@10645 6 SHORT_DESC="Xorg core server light version (no dri, gl, and friends)."
pankso@10645 7 MAINTAINER="pankso@slitaz.org"
pascal@15023 8 LICENSE="MIT"
pankso@10645 9 SOURCE="xorg-server"
pankso@10645 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20423 11 WEB_SITE="https://www.x.org/"
pankso@10645 12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
pankso@10645 13 PROVIDE="xorg-server"
pankso@16067 14 HOST_ARCH="i486 arm"
pankso@10645 15
pankso@16067 16 SUGGESTED="xorg-xf86-video-vesa xorg-xf86-video-fbdev"
pankso@10645 17 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
pankso@16067 18 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman \
pankso@16067 19 xorg-xf86-input-evdev libgpg-error libgcrypt freetype libxcb \
pankso@16076 20 xorg-libXcomposite xorg-libXv bzip2 udev"
pankso@16067 21 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev pixman-dev \
pankso@16039 22 xorg-util-macros xorg-libXfont-dev libgcrypt-dev xorg-resourceproto \
pankso@16039 23 xorg-bigreqsproto xorg-xcmiscproto xorg-renderproto xorg-damageproto \
pankso@16039 24 xorg-compositeproto xorg-xf86dgaproto xorg-randrproto xorg-recordproto \
pankso@16039 25 xorg-videoproto xorg-xtrans libgpg-error-dev libgcrypt-dev freetype-dev \
pankso@16076 26 libxcb-dev xorg-libXcomposite-dev xorg-libXxf86vm-dev xorg-libXv-dev \
pascal@19697 27 bzip2-dev udev-dev xorg-resourceproto xorg-xf86dgaproto xorg-bigreqsproto \
pascal@19697 28 xorg-bigreqsproto xorg-xcmiscproto xorg-bigreqsproto xorg-resourceproto"
pankso@16067 29
pankso@16067 30 # Handle cross compilation. ARM use build host: perl flex
pankso@16067 31 case "$ARCH" in
pankso@16067 32 arm)
pankso@16067 33 #--disable-static
pankso@16068 34 ARCH_ARGS="--enable-malloc0returnsnull"
pankso@16067 35 OS_NAME="SliTaz ARM"
pankso@16067 36 VENDOR="http://arm.slitaz.org" ;;
pankso@16039 37 i?86)
pankso@16067 38 BUILD_DEPENDS="$BUILD_DEPENDS perl flex udev-dev"
pankso@16067 39 OS_NAME="SliTaz GNU/Linux"
pankso@16067 40 VENDOR="http://www.slitaz.org" ;;
pankso@16021 41 esac
pankso@16021 42
pankso@10645 43 # Rules to configure and make the package.
pankso@10645 44 compile_rules()
pankso@10645 45 {
pankso@10645 46 ./configure \
pankso@10645 47 --prefix=/usr \
pankso@10645 48 --sysconfdir=/etc \
pankso@10645 49 --localstatedir=/var \
pankso@10645 50 --with-module-dir=/usr/lib/X11/modules \
pankso@10645 51 --with-xkb-output=/var/lib/xkb \
pankso@10645 52 --with-serverconfig-path=/etc/X11 \
pankso@16062 53 --with-fontrootdir=/usr/share/fonts \
pankso@16067 54 --with-os-name="$OS_NAME" \
pankso@16067 55 --with-vendor-web="$VENDOR" \
pankso@16062 56 --with-builder-addr="$MAINTAINER" \
pankso@10645 57 --enable-install-setuid \
pankso@10645 58 --enable-xorg \
pankso@16068 59 --enable-config-udev \
pankso@10645 60 --disable-config-dbus \
pankso@10645 61 --disable-screensaver \
pankso@10645 62 --disable-glx \
pankso@10645 63 --disable-dri \
pankso@10645 64 --disable-dri2 \
pankso@10645 65 --disable-xinerama \
pankso@10645 66 --disable-libdrm \
pankso@10645 67 --disable-xvfb \
pankso@10645 68 --disable-xnest \
gokhlayeh@11573 69 --disable-xfbdev \
pankso@16062 70 --disable-xephyr \
pankso@16062 71 --disable-xfake \
pankso@16067 72 --disable-ipv6 \
pankso@16067 73 --disable-docs \
pankso@16067 74 --disable-devel-docs \
pankso@16039 75 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
pankso@10645 76 make && make install
pankso@10645 77 }
pankso@10645 78
pankso@16067 79 # Be sure it as cross compile
pankso@16067 80 testsuite()
pankso@16067 81 {
pankso@16067 82 readelf -h $install/usr/bin/Xorg
pankso@16067 83 }
pankso@16067 84
pankso@10645 85 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10645 86 genpkg_rules()
pankso@10645 87 {
pankso@10645 88 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
pankso@12524 89 cp -a $install/usr/lib/X11 $fs/usr/lib
pankso@12524 90 cp -a $install/usr/bin $fs/usr
pankso@12524 91 cp -a $install/var/lib $fs/var
pankso@12524 92 cp -a $install/etc $fs
pankso@10645 93 # Remove static libs and split Xnest
pankso@10645 94 rm $fs/usr/lib/X11/*/*.*a
pankso@10645 95 rm $fs/usr/lib/X11/*/*/*.*a
pankso@10645 96 }
pankso@10645 97
pankso@10645 98 # We need /var/tmp rw to let xkbcomp builr XKB definition.
pankso@10645 99 post_install()
pankso@10645 100 {
pascal@18730 101 chmod 1777 "$1/var/tmp"
pankso@10645 102 }