wok-6.x annotate xorg-libXt/receipt @ rev 22430
Add sshrc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 20 19:07:35 2019 +0100 (2019-12-20) |
parents | 814c58f64f83 |
children | 5d79829fa876 |
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 |
pankso@16064 | 20 # Handle cross compilation. |
pankso@16064 | 21 case "$ARCH" in |
pankso@16064 | 22 arm) unset CFLAGS ;; |
pankso@16064 | 23 esac |
pankso@16064 | 24 |
pankso@20 | 25 # Rules to configure and make the package. |
pankso@20 | 26 compile_rules() |
pankso@20 | 27 { |
Hans-G?nter@22227 | 28 ./configure \ |
Hans-G?nter@22227 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22227 | 30 --localstatedir=/var \ |
Hans-G?nter@22227 | 31 --disable-static \ |
Hans-G?nter@22227 | 32 --with-appdefaultdir=/etc/X11/app-defaults \ |
slaxemulator@10058 | 33 $CONFIGURE_ARGS && |
al@14637 | 34 make && |
al@14637 | 35 make install |
pankso@20 | 36 } |
pankso@20 | 37 |
pankso@20 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 39 genpkg_rules() |
pankso@20 | 40 { |
pankso@20 | 41 mkdir -p $fs/usr/lib |
pankso@12507 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 43 } |