wok-next view xorg-libX11/receipt @ rev 192

UP : tazpkg (1.7)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 07 00:46:46 2008 +0100 (2008-02-07)
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 }