wok view xorg-libX11/receipt @ rev 11829
mysql: improve initscript
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Feb 27 01:19:40 2012 +0100 (2012-02-27) |
parents | 24b56e6f0173 |
children | b63f68a5ca05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 main client interface to X window system."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libxcb"
9 BUILD_DEPENDS="xorg-xtrans libxcb-dev pkg-config xorg-kbproto \
10 xorg-inputproto xorg-xextproto"
11 SOURCE="libX11"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.x.org/"
14 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
38 cp -a $_pkg/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 $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale
44 done
45 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
46 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
47 }