wok-next view xorg-libX11/receipt @ rev 20
Add : xorg-* first big commit (no server)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:41:02 2007 +0100 (2007-12-18) |
parents | |
children | da39ce2eb72c |
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 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 ./configure --prefix=/usr --sysconfdir=/etc \
19 --mandir=/usr/share/man --localstatedir=/var \
20 --without-xcb $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 strip -s $fs/usr/lib/*
31 # X11 locale.
32 mkdir -p $fs/usr/share/X11/locale
33 cp -a $_pkg/usr/share/X11/locale/C $fs/usr/share/X11/locale
34 cp -a $_pkg/usr/share/X11/locale/iso8859-1 $fs/usr/share/X11/locale
35 cp -a $_pkg/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale
36 cp -a $_pkg/usr/share/X11/locale/iso8859-15 $fs/usr/share/X11/locale
37 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
38 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
39 }