wok view xorg-libXpm/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 7bae09de1061
children 811aa3dc2e6c
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXpm"
4 VERSION="3.5.10"
5 CATEGORY="x-window"
6 SHORT_DESC="X Pixmap Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="libXpm"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11 xorg-libXt"
16 BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev util-linux-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case "$ARCH" in
22 arm*)
23 # ARM Hack
24 for la in libICE.la libSM.la libuuid.la
25 do
26 if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then
27 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \
28 /usr/lib/${la}
29 fi
30 done ;;
31 esac
32 ./configure \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }