wok-6.x view xorg-libXt/receipt @ rev 19872
linld/tazboot: fix magic (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 18:01:42 2017 +0200 (2017-03-30) |
parents | b67414949731 |
children | 814c58f64f83 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXt"
4 VERSION="1.1.4"
5 CATEGORY="x-window"
6 SHORT_DESC="X Toolkit Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="libXt"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libSM xorg-libX11"
16 BUILD_DEPENDS="xorg-libSM-dev xorg-libX11-dev glib-dev util-linux-uuid-dev"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm) unset CFLAGS ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-static \
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 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }