wok view xorg-libXfont2/receipt @ rev 24949
updated nagios-nsca (2.9.2 -> 2.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:54:28 2022 +0100 (2022-04-22) |
parents | 3c820131b311 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont2"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="X font Library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXfont2"
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 ./configure \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 --disable-devel-docs \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }