wok-6.x annotate xorg-server/receipt @ rev 13454
Add: claws-mail-rssyl*
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:31:06 2012 +0200 (2012-10-07) |
parents | bcfbf12f8a32 |
children | 6b09507225ec |
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 |
pankso@12522 | 27 # Xephyr make possible to use Xorg in a chroot. |
pankso@89 | 28 ./configure \ |
pankso@89 | 29 --prefix=/usr \ |
pankso@89 | 30 --sysconfdir=/etc \ |
pankso@92 | 31 --mandir=/usr/share/man \ |
pankso@92 | 32 --localstatedir=/var \ |
pankso@92 | 33 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 34 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 35 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 36 --enable-install-setuid \ |
pankso@3014 | 37 --enable-xorg \ |
pankso@10808 | 38 --enable-kdrive \ |
pankso@10808 | 39 --enable-kdrive-kbd \ |
pankso@10808 | 40 --enable-kdrive-mouse \ |
pankso@10808 | 41 --enable-kdrive-evdev \ |
pankso@10808 | 42 --enable-xfbdev \ |
pankso@12522 | 43 --enable-xephyr \ |
gokhlayeh@6993 | 44 --enable-config-udev \ |
gokhlayeh@6993 | 45 --disable-config-dbus \ |
pankso@12692 | 46 --disable-docs \ |
pankso@12692 | 47 --disable-devel-docs \ |
pankso@12692 | 48 --with-fontrootdir=/usr/share/fonts/X11 \ |
pankso@92 | 49 --with-os-name="SliTaz GNU/Linux" \ |
pankso@12692 | 50 --with-vendor-web="http://www.slitaz.org/" \ |
pankso@92 | 51 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 52 $CONFIGURE_ARGS && |
pankso@10808 | 53 make && make DESTDIR=$DESTDIR install |
pankso@89 | 54 } |
pankso@89 | 55 |
pankso@89 | 56 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 57 genpkg_rules() |
pankso@89 | 58 { |
gokhlayeh@6961 | 59 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@12522 | 60 cp -a $install/usr/lib/X11 $fs/usr/lib |
pankso@12522 | 61 cp -a $install/usr/bin $fs/usr |
pankso@12522 | 62 cp -a $install/var/lib $fs/var |
pankso@12522 | 63 cp -a $install/etc $fs |
pankso@3014 | 64 # Remove static libs and split Xnest |
pankso@89 | 65 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 66 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 67 rm $fs/usr/bin/Xnest |
pankso@3014 | 68 rm $fs/usr/bin/Xvfb |
pankso@89 | 69 } |
pankso@451 | 70 |
pankso@451 | 71 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 72 post_install() |
pankso@451 | 73 { |
pankso@3014 | 74 chmod 1777 $1/var/tmp |
pankso@451 | 75 } |