wok-6.x annotate xorg-libXpm/receipt @ rev 22741
updated drupal (8.6.10 -> 8.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 07:57:43 2020 +0100 (2020-01-24) |
parents | 814c58f64f83 |
children | 4803265f63c1 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXpm" |
Hans-G?nter@22221 | 4 VERSION="3.5.12" |
pankso@20 | 5 CATEGORY="x-window" |
Hans-G?nter@22221 | 6 SHORT_DESC="X Pixmap Library." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14640 | 8 LICENSE="other" |
Hans-G?nter@22221 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22221 | 10 |
al@14642 | 11 SOURCE="libXpm" |
al@14642 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pankso@16064 | 15 DEPENDS="xorg-libX11 xorg-libXt" |
Hans-G?nter@22221 | 16 BUILD_DEPENDS="util-linux-uuid-dev xorg-libSM-dev xorg-libXext-dev xorg-libXt-dev" |
Hans-G?nter@22221 | 17 |
Hans-G?nter@22221 | 18 HOST_ARCH="i486 arm" |
al@14640 | 19 |
pankso@20 | 20 # Rules to configure and make the package. |
pankso@20 | 21 compile_rules() |
pankso@20 | 22 { |
pankso@16064 | 23 case "$ARCH" in |
pankso@16064 | 24 arm*) |
pankso@16064 | 25 # ARM Hack |
pankso@16064 | 26 for la in libICE.la libSM.la libuuid.la |
Hans-G?nter@22221 | 27 do |
pankso@16064 | 28 if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then |
pankso@16064 | 29 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \ |
pankso@16064 | 30 /usr/lib/${la} |
pankso@16064 | 31 fi |
Hans-G?nter@22221 | 32 done ;; |
pankso@16064 | 33 esac |
Hans-G?nter@22221 | 34 |
Hans-G?nter@22221 | 35 ./configure \ |
Hans-G?nter@22221 | 36 --sysconfdir=/etc \ |
Hans-G?nter@22221 | 37 --localstatedir=/var \ |
Hans-G?nter@22221 | 38 --disable-static \ |
pankso@12510 | 39 $CONFIGURE_ARGS && |
al@14640 | 40 make && |
al@14640 | 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@12510 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 49 } |