wok annotate xorg-libXt/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | 7bae09de1061 |
children | 9546fbe08e7d |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXt" |
pascal@14566 | 4 VERSION="1.1.4" |
pankso@20 | 5 CATEGORY="x-window" |
al@14637 | 6 SHORT_DESC="X Toolkit Library" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14637 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="libXt" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@12507 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@16064 | 13 HOST_ARCH="i486 arm" |
pankso@12507 | 14 |
slaxemulator@8029 | 15 DEPENDS="xorg-libSM xorg-libX11" |
pascal@15628 | 16 BUILD_DEPENDS="xorg-libSM-dev xorg-libX11-dev glib-dev util-linux-uuid-dev" |
pankso@20 | 17 |
pankso@16064 | 18 # Handle cross compilation. |
pankso@16064 | 19 case "$ARCH" in |
pankso@16064 | 20 arm) unset CFLAGS ;; |
pankso@16064 | 21 esac |
pankso@16064 | 22 |
pankso@20 | 23 # Rules to configure and make the package. |
pankso@20 | 24 compile_rules() |
pankso@20 | 25 { |
pankso@3012 | 26 ./configure \ |
slaxemulator@9686 | 27 --sysconfdir=/etc \ |
slaxemulator@10058 | 28 --localstatedir=/var \ |
al@14637 | 29 --disable-static \ |
al@14637 | 30 --with-appdefaultdir=/etc/X11/app-defaults \ |
slaxemulator@10058 | 31 $CONFIGURE_ARGS && |
al@14637 | 32 make && |
al@14637 | 33 make install |
pankso@20 | 34 } |
pankso@20 | 35 |
pankso@20 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 37 genpkg_rules() |
pankso@20 | 38 { |
pankso@20 | 39 mkdir -p $fs/usr/lib |
pankso@12507 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 41 } |