wok-current annotate xorg-server/receipt @ rev 8029
Add all xorg changes from wok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 19 19:41:12 2011 +0000 (2011-01-19) |
parents | 4752ffcd8b97 |
children | acc8230bb27a |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
slaxemulator@7642 | 4 VERSION="1.9.3" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ |
slaxemulator@8029 | 9 xorg-libXfont xorg-base-fonts libgcrypt pixman udev" |
slaxemulator@8029 | 10 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
slaxemulator@8029 | 11 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev \ |
slaxemulator@8029 | 12 pkg-config perl flex" |
gokhlayeh@6848 | 13 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
pankso@89 | 14 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 15 WEB_SITE="http://www.x.org/" |
pankso@89 | 16 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 17 |
pankso@89 | 18 # Rules to configure and make the package. |
pankso@89 | 19 compile_rules() |
pankso@89 | 20 { |
pankso@89 | 21 cd $src |
pankso@89 | 22 ./configure \ |
pankso@89 | 23 --prefix=/usr \ |
pankso@89 | 24 --sysconfdir=/etc \ |
pankso@92 | 25 --mandir=/usr/share/man \ |
pankso@92 | 26 --localstatedir=/var \ |
pankso@92 | 27 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 28 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 29 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 30 --enable-install-setuid \ |
pankso@3014 | 31 --enable-xorg \ |
gokhlayeh@6993 | 32 --enable-config-udev \ |
gokhlayeh@6993 | 33 --disable-config-dbus \ |
gokhlayeh@6993 | 34 --with-fontrootdir=/usr/share/fonts \ |
pankso@92 | 35 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 36 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 37 $CONFIGURE_ARGS && |
pascal@1480 | 38 make && |
pankso@89 | 39 make DESTDIR=$PWD/_pkg install |
pankso@89 | 40 } |
pankso@89 | 41 |
pankso@89 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 43 genpkg_rules() |
pankso@89 | 44 { |
gokhlayeh@6961 | 45 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@89 | 46 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 47 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 48 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 49 cp -a $_pkg/etc $fs |
pankso@3014 | 50 # Remove static libs and split Xnest |
pankso@89 | 51 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 52 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 53 rm $fs/usr/bin/Xnest |
pankso@3014 | 54 rm $fs/usr/bin/Xvfb |
pankso@89 | 55 } |
pankso@451 | 56 |
pankso@451 | 57 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 58 post_install() |
pankso@451 | 59 { |
pankso@3014 | 60 chmod 1777 $1/var/tmp |
pankso@451 | 61 } |