wok-6.x view xorg-libX11/receipt @ rev 162

UP : leafpad (0.8.13) + add leafpad.desktop
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 28 20:33:51 2008 +0100 (2008-01-28)
parents a4effd754024
children 48683c16693d
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 DEPENDS="xorg"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXau"
10 SOURCE="libX11"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 strip -s $fs/usr/lib/*
36 # X11 locale.
37 mkdir -p $fs/usr/share/X11/locale
38 cp -a $_pkg/usr/share/X11/locale/C $fs/usr/share/X11/locale
39 cp -a $_pkg/usr/share/X11/locale/iso8859-1 $fs/usr/share/X11/locale
40 cp -a $_pkg/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale
41 cp -a $_pkg/usr/share/X11/locale/iso8859-15 $fs/usr/share/X11/locale
42 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
43 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
44 }