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

Up slitaz-base-files (323)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 16:55:27 2017 +0200 (2017-01-21)
parents 73fb2ebfd59a
children 9f70134dc7a7
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/"
al@19590 10 HOST_ARCH="i486 arm"
al@19590 11
al@19590 12 TARBALL="libX11-$VERSION.tar.bz2"
pankso@20 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
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 }