wok-current annotate xorg-libXpm/receipt @ rev 21781
linld: DOS=UMB,LOADHIGH & co support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 14 19:06:44 2019 +0200 (2019-07-14) |
parents | 7bae09de1061 |
children | 811aa3dc2e6c |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXpm" |
pankso@12510 | 4 VERSION="3.5.10" |
pankso@20 | 5 CATEGORY="x-window" |
al@14640 | 6 SHORT_DESC="X Pixmap Library" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14640 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
al@14642 | 10 SOURCE="libXpm" |
al@14642 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@16064 | 13 HOST_ARCH="i486 arm" |
pankso@20 | 14 |
pankso@16064 | 15 DEPENDS="xorg-libX11 xorg-libXt" |
pankso@16064 | 16 BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev util-linux-uuid-dev" |
al@14640 | 17 |
pankso@20 | 18 # Rules to configure and make the package. |
pankso@20 | 19 compile_rules() |
pankso@20 | 20 { |
pankso@16064 | 21 case "$ARCH" in |
pankso@16064 | 22 arm*) |
pankso@16064 | 23 # ARM Hack |
pankso@16064 | 24 for la in libICE.la libSM.la libuuid.la |
pankso@16064 | 25 do |
pankso@16064 | 26 if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then |
pankso@16064 | 27 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \ |
pankso@16064 | 28 /usr/lib/${la} |
pankso@16064 | 29 fi |
pankso@16064 | 30 done ;; |
pankso@16064 | 31 esac |
pankso@12510 | 32 ./configure \ |
pankso@12510 | 33 --sysconfdir=/etc \ |
pankso@12510 | 34 --localstatedir=/var \ |
al@14640 | 35 --disable-static \ |
pankso@12510 | 36 $CONFIGURE_ARGS && |
al@14640 | 37 make && |
al@14640 | 38 make install |
pankso@20 | 39 } |
pankso@20 | 40 |
pankso@20 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 42 genpkg_rules() |
pankso@20 | 43 { |
pankso@20 | 44 mkdir -p $fs/usr/lib |
pankso@12510 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 46 } |