wok-current view xorg-bdftopcf/receipt @ rev 24366

created recipe for geany-lang-1.23.1
author Hans-G?nter Theisgen
date Sat Feb 05 07:22:28 2022 +0100 (2022-02-05)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-bdftopcf"
4 VERSION="1.1"
5 CATEGORY="x-window"
6 TAGS="utility xorg fonts"
7 SHORT_DESC="Font compiler for the X server and font server."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="bdftopcf"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/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 }