wok-next view xorg-libX11/receipt @ rev 498
Busybox: add patch -R
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 24 15:49:00 2008 +0000 (2008-03-24) |
parents | 6c2886ae72ce |
children | 585bd52eb85b |
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 $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 cp -a $_pkg/usr/share/X11/locale/C $fs/usr/share/X11/locale
40 cp -a $_pkg/usr/share/X11/locale/iso8859-1 $fs/usr/share/X11/locale
41 cp -a $_pkg/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale
42 cp -a $_pkg/usr/share/X11/locale/iso8859-15 $fs/usr/share/X11/locale
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 }