wok view xorg-libXpm/receipt @ rev 22268

updated xorg-xf86-input-void (1.4.0 -> 1.4.1)
author Hans-G?nter Theisgen
date Wed Nov 13 10:33:41 2019 +0100 (2019-11-13)
parents 814c58f64f83
children 4803265f63c1
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXpm"
4 VERSION="3.5.12"
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/wiki/"
11 SOURCE="libXpm"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="xorg-libX11 xorg-libXt"
16 BUILD_DEPENDS="util-linux-uuid-dev xorg-libSM-dev xorg-libXext-dev xorg-libXt-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 case "$ARCH" in
24 arm*)
25 # ARM Hack
26 for la in libICE.la libSM.la libuuid.la
27 do
28 if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then
29 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \
30 /usr/lib/${la}
31 fi
32 done ;;
33 esac
35 ./configure \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --disable-static \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }