wok annotate xorg-libXpm/receipt @ rev 25212
updated python-passlib (1.7.2 -> 1.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:14:14 2022 +0100 (2022-07-13) |
parents | 4803265f63c1 |
children |
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 |
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@20 | 26 # Rules to configure and make the package. |
pankso@20 | 27 compile_rules() |
pankso@20 | 28 { |
pankso@16064 | 29 case "$ARCH" in |
pankso@16064 | 30 arm*) |
pankso@16064 | 31 # ARM Hack |
pankso@16064 | 32 for la in libICE.la libSM.la libuuid.la |
Hans-G?nter@22221 | 33 do |
Hans-G?nter@23775 | 34 if grep -q "^libdir='/usr/lib'" /usr/lib/${la} |
Hans-G?nter@23775 | 35 then |
pankso@16064 | 36 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \ |
pankso@16064 | 37 /usr/lib/${la} |
pankso@16064 | 38 fi |
Hans-G?nter@22221 | 39 done ;; |
pankso@16064 | 40 esac |
Hans-G?nter@22221 | 41 |
Hans-G?nter@22221 | 42 ./configure \ |
Hans-G?nter@22221 | 43 --sysconfdir=/etc \ |
Hans-G?nter@22221 | 44 --localstatedir=/var \ |
Hans-G?nter@22221 | 45 --disable-static \ |
pankso@12510 | 46 $CONFIGURE_ARGS && |
al@14640 | 47 make && |
al@14640 | 48 make install |
pankso@20 | 49 } |
pankso@20 | 50 |
pankso@20 | 51 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 52 genpkg_rules() |
pankso@20 | 53 { |
pankso@20 | 54 mkdir -p $fs/usr/lib |
Hans-G?nter@23775 | 55 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 56 } |