wok view xorg-libX11/receipt @ rev 14636
Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:09:39 2013 +0000 (2013-06-02) |
parents | 466e9e6f8a6f |
children | 5ddb4d29b420 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.5.99.902"
5 CATEGORY="x-window"
6 SHORT_DESC="X Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 DEPENDS="libxcb"
14 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
15 xorg-inputproto xorg-xextproto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/lib \
34 $fs/usr/share/X11/locale
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
38 # X11 locale; other moved to locale packs
39 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir; do
40 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
41 done
42 }