wok view xorg-libXfont/receipt @ rev 21490

trickle: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 18:05:32 2019 +0200 (2019-05-01)
parents f18af4c8752a
children 96ccd8f1d9a8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont"
4 VERSION="1.4.5"
5 CATEGORY="x-window"
6 SHORT_DESC="X font Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 SOURCE="libXfont"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="bzlib freetype xorg-libfontenc"
16 BUILD_DEPENDS="bzip2-dev freetype-dev zlib-dev xorg-xtrans xorg-fontsproto \
17 xorg-libfontenc-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/STARTCHAR %s/STARTCHAR %99s/' src/bitmap/bdfread.c
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --disable-static \
27 --disable-devel-docs \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }