wok-4.x view xorg-libX11/receipt @ rev 3707

Upgrade: imagemagick (6.4.3 to 6.5.4-2)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jul 20 00:53:40 2009 +0200 (2009-07-20)
parents 6d7b40477553
children afd01c3e849d
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.1.5"
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 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --without-xcb \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
37 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11
39 # X11 locale.
40 for i in C iso8859-1 iso8859-2
41 do
42 cp -a $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale
43 done
44 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
45 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
46 }