wok-next view xorg-libX11/receipt @ rev 7112

Fixed mesa to only have one libdrm in depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 04 00:12:07 2010 +0000 (2010-11-04)
parents 58fd9d25c84c
children 45b433c0ec4d
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.3.99.902"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 main client interface to X window system."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXau xorg-libXdmcp libxcb"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXdmcp-dev xorg-libXau xorg-libXau-dev xorg-xtrans xorg-util-macros libxcb libxcb-dev pkg-config"
10 SOURCE="libX11"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
37 cp -a $_pkg/usr/share/X11/*DB $fs/usr/share/X11
39 # X11 locale.
40 for i in C iso8859-1 en_US.UTF-8 ko_KR.UTF-8 pt_BR.UTF-8 zh_TW.UTF-8
41 do
42 cp -a $_pkg/usr/share/X11/locale/$i $fs/usr/share/X11/locale
43 done
44 cp -a $_pkg/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
45 cp -a $_pkg/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
46 }