wok-current view xorg-libXpm/receipt @ rev 18188
tokyocabinet: add --enable-off64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 08 12:20:47 2015 +0200 (2015-07-08) |
parents | b67414949731 |
children | 814c58f64f83 |
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="http://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 }