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