wok-current view xorg-mkfontscale/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-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 HOST_ARCH="i486 x86_64"
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 }