wok-current view xorg-server/receipt @ rev 6571

Added libxml2 to depends of libarchive.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 08 05:11:48 2010 +0000 (2010-10-08)
parents aaca24e3d967
children 3514cb856207
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-video-vesa xorg-xkeyboard-config \
9 xorg-xkbcomp xorg-libpciaccess xorg-libXxf86vm libcrypto freetype pixman \
10 gcc-lib-base xorg-xf86-input-evdev"
11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile-dev \
12 xorg-libfontenc-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev openssl-dev \
13 dbus-dev mesa-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.x.org/"
16 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-module-dir=/usr/lib/X11/modules \
28 --with-xkb-output=/var/lib/xkb \
29 --with-serverconfig-path=/etc/X11 \
30 --enable-install-setuid \
31 --enable-xorg \
32 --enable-config-hal \
33 --enable-config-dbus \
34 --with-os-name="SliTaz GNU/Linux" \
35 --with-builder-addr=$MAINTAINER \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/var
45 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/var/lib $fs/var
48 cp -a $_pkg/etc $fs
49 # Remove static libs and split Xnest
50 rm $fs/usr/lib/X11/*/*.*a
51 rm $fs/usr/lib/X11/*/*/*.*a
52 rm $fs/usr/bin/Xnest
53 rm $fs/usr/bin/Xvfb
54 }
56 # We need /var/tmp rw to let xkbcomp builr XKB definition.
57 post_install()
58 {
59 chmod 1777 $1/var/tmp
60 }