wok-next annotate xorg-server/receipt @ rev 9535
busybox/httpd: add directory list support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 18:12:43 2011 +0200 (2011-04-08) |
parents | 44a15c2d0c31 |
children | 829cd878e43f |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
slaxemulator@8485 | 4 VERSION="1.9.4" |
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@8493 | 9 xorg-libXfont xorg-libXau 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 \ |
slaxemulator@8514 | 13 xorg-randrproto xorg-dri2proto xorg-kbproto xorg-xextproto xorg-fontsproto \ |
slaxemulator@8514 | 14 xorg-renderproto xorg-videoproto xorg-compositeproto \ |
slaxemulator@8514 | 15 xorg-recordproto xorg-libXau-dev xorg-fontcacheproto xorg-printproto \ |
slaxemulator@8514 | 16 xorg-scrnsaverproto xorg-resourceproto xorg-xineramaproto xorg-xf86dgaproto \ |
slaxemulator@8514 | 17 xorg-xf86bigfontproto xorg-xf86miscproto xorg-trapproto" |
gokhlayeh@6848 | 18 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
pankso@89 | 19 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 20 WEB_SITE="http://www.x.org/" |
pankso@89 | 21 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 22 |
pankso@89 | 23 # Rules to configure and make the package. |
pankso@89 | 24 compile_rules() |
pankso@89 | 25 { |
pankso@89 | 26 cd $src |
pankso@89 | 27 ./configure \ |
pankso@89 | 28 --prefix=/usr \ |
pankso@89 | 29 --sysconfdir=/etc \ |
pankso@92 | 30 --mandir=/usr/share/man \ |
pankso@92 | 31 --localstatedir=/var \ |
pankso@92 | 32 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 33 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 34 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 35 --enable-install-setuid \ |
pankso@3014 | 36 --enable-xorg \ |
gokhlayeh@6993 | 37 --enable-config-udev \ |
gokhlayeh@6993 | 38 --disable-config-dbus \ |
gokhlayeh@6993 | 39 --with-fontrootdir=/usr/share/fonts \ |
pankso@92 | 40 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 41 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 42 $CONFIGURE_ARGS && |
pascal@1480 | 43 make && |
pankso@89 | 44 make DESTDIR=$PWD/_pkg install |
pankso@89 | 45 } |
pankso@89 | 46 |
pankso@89 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 48 genpkg_rules() |
pankso@89 | 49 { |
gokhlayeh@6961 | 50 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@89 | 51 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 52 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 53 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 54 cp -a $_pkg/etc $fs |
pankso@3014 | 55 # Remove static libs and split Xnest |
pankso@89 | 56 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 57 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 58 rm $fs/usr/bin/Xnest |
pankso@3014 | 59 rm $fs/usr/bin/Xvfb |
pankso@89 | 60 } |
pankso@451 | 61 |
pankso@451 | 62 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 63 post_install() |
pankso@451 | 64 { |
pankso@3014 | 65 chmod 1777 $1/var/tmp |
pankso@451 | 66 } |