wok-next annotate xorg-libX11/receipt @ rev 13245

Move from undigest: turses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:29 2012 +0200 (2012-08-14)
parents 0f7b9582fbaf
children 211d628c400a
rev   line source
jozee@5587 1 # SliTaz package receipt.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libX11"
pankso@12496 4 VERSION="1.4.4"
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"
pankso@20 8 SOURCE="libX11"
gokhlayeh@6993 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@20 10 WEB_SITE="http://www.x.org/"
pankso@20 11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@20 12
pankso@12496 13 DEPENDS="libxcb"
pankso@12496 14 BUILD_DEPENDS="xorg-xtrans libxcb-dev pkg-config xorg-kbproto \
pankso@12496 15 xorg-inputproto xorg-xextproto"
pankso@12496 16
pankso@20 17 # Rules to configure and make the package.
pankso@20 18 compile_rules()
pankso@20 19 {
pankso@94 20 cd $src
pascal@1542 21 sed -i 's/^# keys/keys/' man/xkb/XkbGetKeyVirtualModMap.man
pankso@94 22 ./configure \
pankso@94 23 --prefix=/usr \
pankso@94 24 --sysconfdir=/etc \
pankso@94 25 --mandir=/usr/share/man \
pankso@94 26 --localstatedir=/var \
pascal@1542 27 $CONFIGURE_ARGS &&
pankso@12496 28 make && make install
pankso@20 29 }
pankso@20 30
pankso@20 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@20 32 genpkg_rules()
pankso@20 33 {
pankso@451 34 mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
pankso@670 35
pankso@12496 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12496 37 cp -a $install/usr/lib/X11 $fs/usr/lib
pankso@12496 38 cp -a $install/usr/share/X11/*DB $fs/usr/share/X11
pankso@451 39
pankso@94 40 # X11 locale.
slaxemulator@7246 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
pankso@670 42 do
pankso@12496 43 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
pankso@670 44 done
pankso@12496 45 cp -a $install/usr/share/X11/locale/*.dir $fs/usr/share/X11/locale
pankso@12496 46 cp -a $install/usr/share/X11/locale/*.alias $fs/usr/share/X11/locale
pankso@20 47 }