wok-current annotate xorg-server/receipt @ rev 5965
xorg-server: fix depends
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Aug 05 23:09:23 2010 +0200 (2010-08-05) |
parents | aaca24e3d967 |
children | 3514cb856207 |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pankso@5300 | 4 VERSION="1.8.0" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@5965 | 8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-video-vesa xorg-xkeyboard-config \ |
gokhlayeh@5965 | 9 xorg-xkbcomp xorg-libpciaccess xorg-libXxf86vm libcrypto freetype pixman \ |
gokhlayeh@5965 | 10 gcc-lib-base xorg-xf86-input-evdev" |
pankso@3014 | 11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile-dev \ |
pankso@3014 | 12 xorg-libfontenc-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev openssl-dev \ |
pankso@5331 | 13 dbus-dev mesa-dev" |
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 \ |
pankso@5335 | 32 --enable-config-hal \ |
pankso@3014 | 33 --enable-config-dbus \ |
pankso@92 | 34 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 35 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 36 $CONFIGURE_ARGS && |
pascal@1480 | 37 make && |
pankso@89 | 38 make DESTDIR=$PWD/_pkg install |
pankso@89 | 39 } |
pankso@89 | 40 |
pankso@89 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 42 genpkg_rules() |
pankso@89 | 43 { |
pankso@3014 | 44 mkdir -p $fs/usr/lib $fs/var |
pankso@89 | 45 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 46 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 47 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 48 cp -a $_pkg/etc $fs |
pankso@3014 | 49 # Remove static libs and split Xnest |
pankso@89 | 50 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 51 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 52 rm $fs/usr/bin/Xnest |
pankso@3014 | 53 rm $fs/usr/bin/Xvfb |
pankso@89 | 54 } |
pankso@451 | 55 |
pankso@451 | 56 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 57 post_install() |
pankso@451 | 58 { |
pankso@3014 | 59 chmod 1777 $1/var/tmp |
pankso@451 | 60 } |