wok-next view xorg-libX11/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libX11"
4 VERSION="1.6.6"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 Client library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html"
11 REPOLOGY="libx11"
13 TARBALL="libX11-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
16 BUILD_DEPENDS="xorg-xtrans xorg-libxcb-dev \
17 xorg-xorgproto xorg-libXau-dev xorg-libXdmcp-dev perl"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
26 # strip whitespace
27 for i in $(find $install -name Compose); do
28 sed -i 's|\t| |g; s| *| |g; /^$/d' $i
29 done
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 *-libX11)
35 copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \
36 C/ en_US.UTF-8/
37 # split -> locale-* packages
38 DEPENDS="xorg-libxcb"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="xorg-libX11 \
43 xorg-xorgproto xorg-libxcb-dev"
44 ;;
45 esac
46 }