wok-next annotate xorg-libX11/receipt @ rev 20080
fix
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 11:39:56 2017 +0200 (2017-10-25) |
parents | f463de72afe3 |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libX11" |
al@19634 | 4 VERSION="1.6.3" |
pankso@20 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="X11 Client library" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@19805 | 8 LICENSE="MIT" |
al@19634 | 9 WEB_SITE="https://www.x.org/wiki/" |
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 |
al@14636 | 15 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \ |
al@19634 | 16 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev perl" |
al@19805 | 17 SPLIT="xorg-libX11-dev" |
al@19805 | 18 PKG_RULE="std-dev" |
pankso@12496 | 19 |
pankso@20 | 20 # Rules to configure and make the package. |
pankso@20 | 21 compile_rules() |
pankso@20 | 22 { |
pankso@94 | 23 ./configure \ |
pankso@94 | 24 --sysconfdir=/etc \ |
pankso@94 | 25 --localstatedir=/var \ |
pascal@1542 | 26 $CONFIGURE_ARGS && |
al@14636 | 27 make && |
al@14636 | 28 make install |
al@19634 | 29 |
al@19805 | 30 # strip whitespace |
al@19634 | 31 for i in $(find $install -name Compose); do |
al@19634 | 32 sed -i 's|\t| |g; s| *| |g; /^$/d' $i |
al@19634 | 33 done |
pankso@20 | 34 } |
pankso@20 | 35 |
pankso@20 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 37 genpkg_rules() |
pankso@20 | 38 { |
al@19805 | 39 case $PACKAGE in |
al@19805 | 40 *-libX11) |
al@19805 | 41 copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \ |
al@19805 | 42 C/ en_US.UTF-8/ |
al@19805 | 43 # split -> locale-* packages |
al@19805 | 44 DEPENDS="xorg-libxcb xorg-libXau xorg-libXdmcp" |
al@19805 | 45 ;; |
al@19805 | 46 *-dev) |
al@19805 | 47 copy @dev |
al@19805 | 48 DEPENDS="xorg-libX11 xorg-xtrans xorg-libxcb-dev xorg-kbproto \ |
al@19805 | 49 xorg-inputproto xorg-xextproto xorg-xproto xorg-libXau-dev \ |
al@19805 | 50 xorg-libXdmcp-dev" |
al@19805 | 51 ;; |
al@19805 | 52 esac |
pankso@20 | 53 } |