wok-current annotate xorg-libX11/receipt @ rev 17448

Add Qcad 2D CAD application
author Christophe Lincoln <pankso@slitaz.org>
date Sun Dec 14 10:13:18 2014 +0100 (2014-12-14)
parents 5ddb4d29b420
children 814c58f64f83
rev   line source
jozee@5587 1 # SliTaz package receipt.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libX11"
pascal@14571 4 VERSION="1.5.99.902"
pankso@20 5 CATEGORY="x-window"
al@14636 6 SHORT_DESC="X Library"
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@14636 8 LICENSE="other"
pankso@20 9 WEB_SITE="http://www.x.org/"
slaxemulator@14639 10 SOURCE="libX11"
slaxemulator@14639 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@20 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@16021 13 HOST_ARCH="i486 arm"
pankso@20 14
pankso@16021 15 DEPENDS="libxcb xorg-libXau xorg-libXdmcp"
al@14636 16 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
pankso@16021 17 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev"
pankso@12496 18
pankso@20 19 # Rules to configure and make the package.
pankso@20 20 compile_rules()
pankso@20 21 {
pankso@94 22 ./configure \
pankso@94 23 --sysconfdir=/etc \
pankso@94 24 --localstatedir=/var \
al@14636 25 --disable-static \
pascal@1542 26 $CONFIGURE_ARGS &&
al@14636 27 make &&
al@14636 28 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 {
al@14636 34 mkdir -p \
al@14636 35 $fs/usr/lib \
al@14636 36 $fs/usr/share/X11/locale
al@14636 37
pankso@12496 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14636 39 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
al@14636 40 # X11 locale; other moved to locale packs
al@14636 41 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir; do
pankso@12496 42 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
pankso@670 43 done
pankso@20 44 }