wok-current view xorg-fonttosfnt/receipt @ rev 25416
updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 09:20:59 2022 +0100 (2022-08-04) |
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 }