wok view xorg-libX11/receipt @ rev 12847

Up: ffmpeg-dev (0.10.3)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:00:38 2012 +0200 (2012-05-23)
parents 0f7b9582fbaf
children 211d628c400a
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.4.4"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 main client interface to X window system."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libX11"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 DEPENDS="libxcb"
14 BUILD_DEPENDS="xorg-xtrans libxcb-dev pkg-config xorg-kbproto \
15 xorg-inputproto xorg-xextproto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/X11 $fs/usr/lib
38 cp -a $install/usr/share/X11/*DB $fs/usr/share/X11
40 # X11 locale.
41 for i in C iso8859-1 en_US.UTF-8 ko_KR.UTF-8 pt_BR.UTF-8 zh_TW.UTF-8 zh_CN.UTF-8
42 do
43 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
44 done
45 cp -a $install/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
46 cp -a $install/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
47 }