wok view xorg-libX11/receipt @ rev 5145

samba: add samba-common file list
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Mar 23 23:25:36 2010 +0100 (2010-03-23)
parents afd01c3e849d
children 55fede281d6c
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 main client interface to X window system."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXau xorg-libXdmcp"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXau xorg-xtrans"
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 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --without-xcb \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
38 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11
40 # X11 locale.
41 for i in C iso8859-1 iso8859-2
42 do
43 cp -a $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale
44 done
45 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
46 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
47 }