wok-next view xorg-libX11/receipt @ rev 19849
Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 28 19:54:13 2017 +0300 (2017-08-28) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libX11"
4 VERSION="1.6.3"
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 HOST_ARCH="i486 arm"
12 TARBALL="libX11-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
16 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev perl"
17 SPLIT="xorg-libX11-dev"
18 PKG_RULE="std-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
30 # strip whitespace
31 for i in $(find $install -name Compose); do
32 sed -i 's|\t| |g; s| *| |g; /^$/d' $i
33 done
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 *-libX11)
41 copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \
42 C/ en_US.UTF-8/
43 # split -> locale-* packages
44 DEPENDS="xorg-libxcb xorg-libXau xorg-libXdmcp"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="xorg-libX11 xorg-xtrans xorg-libxcb-dev xorg-kbproto \
49 xorg-inputproto xorg-xextproto xorg-xproto xorg-libXau-dev \
50 xorg-libXdmcp-dev"
51 ;;
52 esac
53 }