wok-6.x view xorg-mkfontdir/receipt @ rev 24953
updated nagvis and nagvis-doc (1.9.18 -> 1.9.31)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 15:05:31 2022 +0100 (2022-04-23) |
parents | eb8067417980 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-mkfontdir"
4 VERSION="1.0.7"
5 CATEGORY="x-window"
6 SHORT_DESC="Create an index of X font files in a directory."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="mkfontdir"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://xorg.freedesktop.org/"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
13 TAGS="utility xorg fonts"
15 DEPENDS="xorg-mkfontscale"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.ls sr
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make 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 chmod +x $fs/usr/bin/*
39 }