wok-current view xorg-mkfontdir/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago) |
parents | 5d79829fa876 |
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 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.ls sr
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make 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 chmod +x $fs/usr/bin/*
41 }