wok-next view xorg-libX11/receipt @ rev 20718
paulstretch: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 15:09:21 2018 +0300 (2018-05-27) |
parents | 0e7893ac206d |
children | cd7906120828 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libX11"
4 VERSION="1.6.5"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 Client library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
12 TARBALL="libX11-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-xtrans xorg-libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
16 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev perl"
17 SPLIT="xorg-libX11-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
25 # strip whitespace
26 for i in $(find $install -name Compose); do
27 sed -i 's|\t| |g; s| *| |g; /^$/d' $i
28 done
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-libX11)
34 copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \
35 C/ en_US.UTF-8/
36 # split -> locale-* packages
37 DEPENDS="xorg-libxcb"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xorg-libX11 \
42 xorg-kbproto xorg-libxcb-dev xorg-xproto"
43 ;;
44 esac
45 }