wok-4.x annotate xorg-libX11/receipt @ rev 6159
Up: aria2 to 1.10.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 09 23:29:47 2010 +0000 (2010-09-09) |
parents | 3977a56ee4c8 |
children | 58fd9d25c84c |
rev | line source |
---|---|
jozee@5587 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libX11" |
pankso@5294 | 4 VERSION="1.3.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" |
jozee@5592 | 8 DEPENDS="xorg-libXau xorg-libXdmcp libxcb" |
jozee@5592 | 9 BUILD_DEPENDS="xorg-dev-proto xorg-libXau xorg-xtrans libxcb libxcb-dev" |
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 |
pascal@1542 | 19 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man |
pankso@94 | 20 ./configure \ |
pankso@94 | 21 --prefix=/usr \ |
pankso@94 | 22 --sysconfdir=/etc \ |
pankso@94 | 23 --mandir=/usr/share/man \ |
pankso@94 | 24 --localstatedir=/var \ |
pascal@1542 | 25 $CONFIGURE_ARGS && |
pascal@1542 | 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@670 | 34 |
pankso@94 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@451 | 36 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@451 | 37 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11 |
pankso@451 | 38 |
pankso@94 | 39 # X11 locale. |
pankso@5294 | 40 for i in C iso8859-1 en_US.UTF-8 ko_KR.UTF-8 pt_BR.UTF-8 zh_TW.UTF-8 |
pankso@670 | 41 do |
pankso@670 | 42 cp -a $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale |
pankso@670 | 43 done |
pankso@94 | 44 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale |
pankso@94 | 45 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale |
pankso@20 | 46 } |