wok-next view xorg-libXt/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | ea3c4b76ea5d |
children | 757d032c55c7 |
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 # Handle cross compilation.
20 case "$ARCH" in
21 arm) unset CFLAGS ;;
22 esac
24 fix ld
25 ./configure \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --with-appdefaultdir=/etc/X11/app-defaults \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 *-libXt)
38 copy @std
39 DEPENDS="xorg-libICE xorg-libSM xorg-libX11"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="xorg-libXt \
44 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-xproto"
45 ;;
46 esac
47 }