wok-6.x annotate xorg-server/receipt @ rev 17424
icedtea6-jdk: use automake --add-missing
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 05 00:06:05 2014 +0100 (2014-12-05) |
parents | 1040bd60b471 |
children | 9e01bc6321ea |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pankso@15751 | 4 VERSION="1.12.4" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15023 | 8 LICENSE="MIT" |
gokhlayeh@6848 | 9 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
pankso@89 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 11 WEB_SITE="http://www.x.org/" |
pankso@89 | 12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 13 |
pankso@10808 | 14 # Mesa build dep make also Xorg depends on libdrm. |
pankso@10808 | 15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ |
pankso@12161 | 16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \ |
pankso@12161 | 17 xorg-xf86-input-evdev" |
pankso@10808 | 18 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
pankso@10808 | 19 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \ |
pankso@10808 | 20 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \ |
pankso@12522 | 21 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \ |
pankso@12522 | 22 xorg-libXv-dev" |
pankso@10808 | 23 |
pankso@89 | 24 # Rules to configure and make the package. |
pankso@89 | 25 compile_rules() |
pankso@89 | 26 { |
pankso@89 | 27 cd $src |
pascal@13796 | 28 |
pankso@12522 | 29 # Xephyr make possible to use Xorg in a chroot. |
pankso@89 | 30 ./configure \ |
pankso@89 | 31 --prefix=/usr \ |
pankso@89 | 32 --sysconfdir=/etc \ |
pankso@92 | 33 --mandir=/usr/share/man \ |
pankso@92 | 34 --localstatedir=/var \ |
pankso@92 | 35 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 36 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 37 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 38 --enable-install-setuid \ |
pankso@3014 | 39 --enable-xorg \ |
pankso@10808 | 40 --enable-kdrive \ |
pankso@10808 | 41 --enable-kdrive-kbd \ |
pankso@10808 | 42 --enable-kdrive-mouse \ |
pankso@10808 | 43 --enable-kdrive-evdev \ |
pankso@10808 | 44 --enable-xfbdev \ |
pankso@12522 | 45 --enable-xephyr \ |
gokhlayeh@6993 | 46 --enable-config-udev \ |
gokhlayeh@6993 | 47 --disable-config-dbus \ |
pankso@12692 | 48 --disable-docs \ |
pankso@12692 | 49 --disable-devel-docs \ |
pankso@12692 | 50 --with-fontrootdir=/usr/share/fonts/X11 \ |
pankso@92 | 51 --with-os-name="SliTaz GNU/Linux" \ |
pankso@12692 | 52 --with-vendor-web="http://www.slitaz.org/" \ |
pankso@92 | 53 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 54 $CONFIGURE_ARGS && |
pankso@10808 | 55 make && make DESTDIR=$DESTDIR install |
pankso@89 | 56 } |
pankso@89 | 57 |
pankso@89 | 58 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 59 genpkg_rules() |
pankso@89 | 60 { |
gokhlayeh@6961 | 61 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@12522 | 62 cp -a $install/usr/lib/X11 $fs/usr/lib |
pankso@12522 | 63 cp -a $install/usr/bin $fs/usr |
pankso@12522 | 64 cp -a $install/var/lib $fs/var |
pankso@12522 | 65 cp -a $install/etc $fs |
pankso@3014 | 66 # Remove static libs and split Xnest |
pankso@89 | 67 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 68 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 69 rm $fs/usr/bin/Xnest |
pankso@3014 | 70 rm $fs/usr/bin/Xvfb |
pankso@15751 | 71 # Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev |
pankso@15751 | 72 rm $fs/usr/bin/Xephyr |
pankso@15751 | 73 rm $fs/usr/bin/Xfbdev |
pankso@89 | 74 } |
pankso@451 | 75 |
pankso@451 | 76 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 77 post_install() |
pankso@451 | 78 { |
pankso@3014 | 79 chmod 1777 $1/var/tmp |
pankso@451 | 80 } |