wok-next view xorg-libXpm/receipt @ rev 20657
Up openjpeg2 (2.3.0), pciutils (3.5.6), pcre (8.41), pcre2 (10.31), pinentry (1.1.0), sakura (3.6.0), vte (0.50.2); add openobex, pax.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 05 16:03:34 2018 +0300 (2018-05-05) |
parents | 0e7893ac206d |
children | cd7906120828 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXpm"
4 VERSION="3.5.12"
5 CATEGORY="x-window"
6 SHORT_DESC="XPM format pixmap library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
12 TARBALL="libXpm-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev \
16 util-linux-uuid-dev gettext"
17 SPLIT="xorg-libXpm-util xorg-libXpm-dev"
19 compile_rules() {
20 case "$ARCH" in
21 arm*) # ARM Hack
22 for la in libICE.la libSM.la libuuid.la; do
23 if grep -q "^libdir='/usr/lib'" /usr/lib/$la; then
24 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \
25 /usr/lib/$la
26 fi
27 done ;;
28 esac
30 ./configure $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 *-libXpm)
39 copy *.so*
40 DEPENDS="xorg-libX11"
41 ;;
42 *-util)
43 copy bin/
44 CAT="x-window|utilities"
45 DEPENDS="xorg-libX11 xorg-libXext xorg-libXpm xorg-libXt"
46 ;;
47 *-dev)
48 copy @dev
49 DEPENDS="xorg-libXpm xorg-libXpm-util \
50 xorg-libX11-dev"
51 ;;
52 esac
53 }