wok view xorg-mkfontscale/receipt @ rev 24226

updated perl-io-tty (1.14 -> 1.16)
author Hans-G?nter Theisgen
date Fri Dec 31 17:52:39 2021 +0100 (2021-12-31)
parents c98388cd248b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-mkfontscale"
4 VERSION="1.2.1"
5 CATEGORY="x-window"
6 TAGS="utility xorg fonts"
7 SHORT_DESC="Create an index of scaleable font files for X."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://xorg.freedesktop.org/"
12 SOURCE="mkfontscale"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.ls sr
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }