wok-next view xorg-libXt/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXt"
4 VERSION="1.1.5"
5 CATEGORY="x-window"
6 SHORT_DESC="X Toolkit Intrinsics library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 HOST_ARCH="i486 arm"
12 TARBALL="libXt-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-libSM-dev xorg-libX11-dev glib-dev util-linux-uuid-dev"
16 SPLIT="xorg-libXt-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Handle cross compilation.
23 case "$ARCH" in
24 arm) unset CFLAGS ;;
25 esac
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --with-appdefaultdir=/etc/X11/app-defaults \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 *-libXt)
41 copy @std
42 DEPENDS="xorg-libxcb util-linux-uuid xorg-libICE xorg-libSM \
43 xorg-libX11 xorg-libXau xorg-libXdmcp"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="xorg-libXt xorg-libxcb-dev util-linux-uuid-dev \
48 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
49 xorg-libXdmcp-dev xorg-xproto"
50 ;;
51 esac
52 }