wok-current annotate xorg-server/receipt @ rev 11206
Up libruby-extras (1.9.2-p180)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 11:11:08 2011 +0100 (2011-11-03) |
parents | c276774df941 |
children | 5a739c1304f8 |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pankso@10808 | 4 VERSION="1.9.5" |
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@10808 | 15 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm" |
pankso@10808 | 16 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
pankso@10808 | 17 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \ |
pankso@10808 | 18 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \ |
pankso@10808 | 19 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev" |
pankso@10808 | 20 |
pankso@89 | 21 # Rules to configure and make the package. |
pankso@89 | 22 compile_rules() |
pankso@89 | 23 { |
pankso@89 | 24 cd $src |
pankso@10808 | 25 # Xephyr make possible to use Xorg in a chroot: --enable-xephyr |
pankso@89 | 26 ./configure \ |
pankso@89 | 27 --prefix=/usr \ |
pankso@89 | 28 --sysconfdir=/etc \ |
pankso@92 | 29 --mandir=/usr/share/man \ |
pankso@92 | 30 --localstatedir=/var \ |
pankso@92 | 31 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 32 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 33 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 34 --enable-install-setuid \ |
pankso@3014 | 35 --enable-xorg \ |
pankso@10808 | 36 --enable-kdrive \ |
pankso@10808 | 37 --enable-kdrive-kbd \ |
pankso@10808 | 38 --enable-kdrive-mouse \ |
pankso@10808 | 39 --enable-kdrive-evdev \ |
pankso@10808 | 40 --enable-xfbdev \ |
gokhlayeh@6993 | 41 --enable-config-udev \ |
gokhlayeh@6993 | 42 --disable-config-dbus \ |
gokhlayeh@6993 | 43 --with-fontrootdir=/usr/share/fonts \ |
pankso@92 | 44 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 45 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 46 $CONFIGURE_ARGS && |
pankso@10808 | 47 make && make DESTDIR=$DESTDIR install |
pankso@89 | 48 } |
pankso@89 | 49 |
pankso@89 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 51 genpkg_rules() |
pankso@89 | 52 { |
gokhlayeh@6961 | 53 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@89 | 54 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 55 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 56 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 57 cp -a $_pkg/etc $fs |
pankso@3014 | 58 # Remove static libs and split Xnest |
pankso@89 | 59 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 60 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 61 rm $fs/usr/bin/Xnest |
pankso@3014 | 62 rm $fs/usr/bin/Xvfb |
pankso@89 | 63 } |
pankso@451 | 64 |
pankso@451 | 65 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 66 post_install() |
pankso@451 | 67 { |
pankso@3014 | 68 chmod 1777 $1/var/tmp |
pankso@451 | 69 } |