wok-6.x annotate xorg-server/receipt @ rev 8131
Automated merge with http://repos.slitaz.org/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 24 23:14:00 2011 +0100 (2011-01-24) |
parents | c514cc4854d8 |
children | beb131988158 |
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 \ |
gokhlayeh@8092 | 12 pkg-config perl flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto \ |
gokhlayeh@8092 | 13 xorg-randrproto xorg-renderproto xorg-videoproto xorg-compositeproto \ |
gokhlayeh@8092 | 14 xorg-recordproto xorg-scrnsaverproto xorg-resourceproto xorg-xineramaproto" |
gokhlayeh@6848 | 15 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
pankso@89 | 16 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 17 WEB_SITE="http://www.x.org/" |
pankso@89 | 18 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 19 |
pankso@89 | 20 # Rules to configure and make the package. |
pankso@89 | 21 compile_rules() |
pankso@89 | 22 { |
pankso@89 | 23 cd $src |
pankso@89 | 24 ./configure \ |
pankso@89 | 25 --prefix=/usr \ |
pankso@89 | 26 --sysconfdir=/etc \ |
pankso@92 | 27 --mandir=/usr/share/man \ |
pankso@92 | 28 --localstatedir=/var \ |
pankso@92 | 29 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 30 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 31 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 32 --enable-install-setuid \ |
pankso@3014 | 33 --enable-xorg \ |
gokhlayeh@6993 | 34 --enable-config-udev \ |
gokhlayeh@6993 | 35 --disable-config-dbus \ |
gokhlayeh@6993 | 36 --with-fontrootdir=/usr/share/fonts \ |
pankso@92 | 37 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 38 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 39 $CONFIGURE_ARGS && |
pascal@1480 | 40 make && |
pankso@89 | 41 make DESTDIR=$PWD/_pkg install |
pankso@89 | 42 } |
pankso@89 | 43 |
pankso@89 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 45 genpkg_rules() |
pankso@89 | 46 { |
gokhlayeh@6961 | 47 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@89 | 48 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 49 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 50 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 51 cp -a $_pkg/etc $fs |
pankso@3014 | 52 # Remove static libs and split Xnest |
pankso@89 | 53 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 54 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 55 rm $fs/usr/bin/Xnest |
pankso@3014 | 56 rm $fs/usr/bin/Xvfb |
pankso@89 | 57 } |
pankso@451 | 58 |
pankso@451 | 59 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 60 post_install() |
pankso@451 | 61 { |
pankso@3014 | 62 chmod 1777 $1/var/tmp |
pankso@451 | 63 } |