wok view xorg-fonttosfnt/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 months ago)
parents 55468e317029
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-fonttosfnt"
4 VERSION="1.0.5"
5 CATEGORY="x-window"
6 TAGS="utility xorg fonts"
7 SHORT_DESC="Wrap a bitmap font in a sfnt (TrueType) wrapper."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://xorg.freedesktop.org/"
12 SOURCE="fonttosfnt"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
16 DEPENDS="freetype xorg-libfontenc xorg-libX11"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.ls sr
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }