wok-6.x view xorg-mkfontdir/receipt @ rev 25095
Up libkeybinder (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 18 13:48:16 2022 +0000 (2022-06-18) |
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 }