wok-next view xorg-libXt/receipt @ rev 20626
librevenge: fix build for new toolchain
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 13:06:21 2018 +0300 (2018-04-26) |
parents | 0e7893ac206d |
children | cd7906120828 |
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
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"
18 compile_rules() {
19 case "$ARCH" in
20 arm) unset CFLAGS ;;
21 esac
23 ./configure \
24 --with-appdefaultdir=/etc/X11/app-defaults \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-libXt)
34 copy @std
35 DEPENDS="xorg-libICE xorg-libSM xorg-libX11"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="xorg-libXt \
40 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-xproto"
41 ;;
42 esac
43 }