wok-current view xorg-libXfont/receipt @ rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents 96ccd8f1d9a8
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont"
4 VERSION="1.5.4"
5 CATEGORY="x-window"
6 SHORT_DESC="X font Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXfont"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="bzlib freetype xorg-libfontenc"
16 BUILD_DEPENDS="bzip2-dev freetype-dev xorg-fontsproto \
17 xorg-libfontenc-dev xorg-xtrans zlib-dev"
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's/STARTCHAR %s/STARTCHAR %99s/' src/bitmap/bdfread.c
32 ./configure \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-static \
36 --disable-devel-docs \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }