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