wok-stable view xorg-libX11/receipt @ rev 1332
Add setuptools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 11:00:49 2008 +0000 (2008-08-31) |
parents | 2abffd7c5ef9 |
children | 6d7b40477553 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 main client interface to X window system."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="xorg-dev-proto xorg-libXau xorg-xtrans"
9 SOURCE="libX11"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --localstatedir=/var \
23 --without-xcb \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
36 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11
38 # X11 locale.
39 for i in C iso8859-1 iso8859-2
40 do
41 cp -a $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale
42 done
43 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
44 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
45 }