wok-current view xorg-libXt/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 5d79829fa876 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXt"
4 VERSION="1.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X Toolkit Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXt"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="xorg-libSM xorg-libX11"
16 BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libSM-dev xorg-libX11-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Handle cross compilation.
27 case "$ARCH" in
28 arm) unset CFLAGS ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --disable-static \
38 --with-appdefaultdir=/etc/X11/app-defaults \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }