wok annotate xorg-libXt/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | 9546fbe08e7d |
children |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXt" |
Hans-G?nter@22227 | 4 VERSION="1.2.0" |
pankso@20 | 5 CATEGORY="x-window" |
Hans-G?nter@22227 | 6 SHORT_DESC="X Toolkit Library." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14637 | 8 LICENSE="other" |
Hans-G?nter@22227 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22227 | 10 |
slaxemulator@14639 | 11 SOURCE="libXt" |
slaxemulator@14639 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@12507 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@12507 | 14 |
slaxemulator@8029 | 15 DEPENDS="xorg-libSM xorg-libX11" |
Hans-G?nter@22227 | 16 BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libSM-dev xorg-libX11-dev" |
Hans-G?nter@22227 | 17 |
Hans-G?nter@22227 | 18 HOST_ARCH="i486 arm" |
pankso@20 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@16064 | 26 # Handle cross compilation. |
pankso@16064 | 27 case "$ARCH" in |
pankso@16064 | 28 arm) unset CFLAGS ;; |
pankso@16064 | 29 esac |
pankso@16064 | 30 |
pankso@20 | 31 # Rules to configure and make the package. |
pankso@20 | 32 compile_rules() |
pankso@20 | 33 { |
Hans-G?nter@22227 | 34 ./configure \ |
Hans-G?nter@22227 | 35 --sysconfdir=/etc \ |
Hans-G?nter@22227 | 36 --localstatedir=/var \ |
Hans-G?nter@22227 | 37 --disable-static \ |
Hans-G?nter@22227 | 38 --with-appdefaultdir=/etc/X11/app-defaults \ |
slaxemulator@10058 | 39 $CONFIGURE_ARGS && |
al@14637 | 40 make && |
al@14637 | 41 make install |
pankso@20 | 42 } |
pankso@20 | 43 |
pankso@20 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 45 genpkg_rules() |
pankso@20 | 46 { |
pankso@20 | 47 mkdir -p $fs/usr/lib |
pankso@12507 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 49 } |