wok-next view xorg-libXpm/receipt @ rev 19789
Add js, up pam, polkit, polkit-pam; fix typo in btrfs-progs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 20 03:48:54 2017 +0300 (2017-06-20) |
parents | 9f70134dc7a7 |
children | ea3c4b76ea5d |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXpm"
4 VERSION="3.5.11"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="libXpm-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="xorg-libX11 xorg-libXt"
16 BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev \
17 util-linux-uuid-dev gettext"
18 SPLIT="xorg-libXpm-util"
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; do
27 if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then
28 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \
29 /usr/lib/${la}
30 fi
31 done ;;
32 esac
34 ./configure \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --disable-static \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 copy *.so*
47 }