wok annotate xorg-libX11/receipt @ rev 659
Up: slitaz-tools (2.0) - Netbox have server config (Pascal), installer in English (Paul) + misc improvement
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 23:43:53 2008 +0200 (2008-04-22) |
parents | 6c2886ae72ce |
children | 585bd52eb85b |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libX11" |
pankso@97 | 4 VERSION="1.1.3" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="X11 main client interface to X window system." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 DEPENDS="xorg" |
pankso@94 | 9 BUILD_DEPENDS="xorg-dev-proto xorg-libXau" |
pankso@20 | 10 SOURCE="libX11" |
pankso@20 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pankso@20 | 15 # Rules to configure and make the package. |
pankso@20 | 16 compile_rules() |
pankso@20 | 17 { |
pankso@94 | 18 cd $src |
pankso@94 | 19 ./configure \ |
pankso@94 | 20 --prefix=/usr \ |
pankso@94 | 21 --sysconfdir=/etc \ |
pankso@94 | 22 --mandir=/usr/share/man \ |
pankso@94 | 23 --localstatedir=/var \ |
pankso@94 | 24 --without-xcb \ |
pankso@94 | 25 $CONFIGURE_ARGS |
pankso@94 | 26 make |
pankso@94 | 27 make DESTDIR=$PWD/_pkg install |
pankso@20 | 28 } |
pankso@20 | 29 |
pankso@20 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 31 genpkg_rules() |
pankso@20 | 32 { |
pankso@451 | 33 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale |
pankso@94 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@451 | 35 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@451 | 36 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11 |
pankso@451 | 37 |
pankso@94 | 38 # X11 locale. |
pankso@94 | 39 cp -a $_pkg/usr/share/X11/locale/C $fs/usr/share/X11/locale |
pankso@94 | 40 cp -a $_pkg/usr/share/X11/locale/iso8859-1 $fs/usr/share/X11/locale |
pankso@94 | 41 cp -a $_pkg/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale |
pankso@94 | 42 cp -a $_pkg/usr/share/X11/locale/iso8859-15 $fs/usr/share/X11/locale |
pankso@94 | 43 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale |
pankso@94 | 44 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale |
pankso@20 | 45 } |