wok annotate xorg-libXpm/receipt @ rev 23775
updated xorg-libXpm, xorg-libXpm-dev and xorg-libXpm-util (3.5.12 -> 3.5.13)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 20 16:21:25 2020 +0100 (2020-05-20) |
parents | 811aa3dc2e6c |
children | 5d79829fa876 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXpm" |
Hans-G?nter@23775 | 4 VERSION="3.5.13" |
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 |
Hans-G?nter@23775 | 28 if grep -q "^libdir='/usr/lib'" /usr/lib/${la} |
Hans-G?nter@23775 | 29 then |
pankso@16064 | 30 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \ |
pankso@16064 | 31 /usr/lib/${la} |
pankso@16064 | 32 fi |
Hans-G?nter@22221 | 33 done ;; |
pankso@16064 | 34 esac |
Hans-G?nter@22221 | 35 |
Hans-G?nter@22221 | 36 ./configure \ |
Hans-G?nter@22221 | 37 --sysconfdir=/etc \ |
Hans-G?nter@22221 | 38 --localstatedir=/var \ |
Hans-G?nter@22221 | 39 --disable-static \ |
pankso@12510 | 40 $CONFIGURE_ARGS && |
al@14640 | 41 make && |
al@14640 | 42 make install |
pankso@20 | 43 } |
pankso@20 | 44 |
pankso@20 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 46 genpkg_rules() |
pankso@20 | 47 { |
pankso@20 | 48 mkdir -p $fs/usr/lib |
Hans-G?nter@23775 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 50 } |