wok-current annotate xorg-mkfontdir/receipt @ rev 24569

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 18:46:53 2022 +0000 (2022-02-26)
parents eb8067417980
children 5926178cd6fa
rev   line source
pascal@11203 1 # SliTaz package receipt.
pascal@11203 2
pascal@11203 3 PACKAGE="xorg-mkfontdir"
pankso@12521 4 VERSION="1.0.7"
pascal@11203 5 CATEGORY="x-window"
pascal@11203 6 SHORT_DESC="Create an index of X font files in a directory."
pascal@11203 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pascal@11203 9 SOURCE="mkfontdir"
pascal@11203 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@11203 11 WEB_SITE="http://xorg.freedesktop.org/"
pankso@12521 12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pascal@11203 13 TAGS="utility xorg fonts"
pankso@12521 14
pascal@11203 15 DEPENDS="xorg-mkfontscale"
pascal@11203 16
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@24072 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
pankso@12521 23 # Rules to configure and make the package.ls sr
pascal@11203 24 compile_rules()
pascal@11203 25 {
pascal@11203 26 cd $src
pascal@11203 27 ./configure \
pascal@11203 28 --mandir=/usr/share/man \
pascal@11203 29 $CONFIGURE_ARGS &&
pankso@12521 30 make && make install
pascal@11203 31 }
pascal@11203 32
pascal@11203 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11203 34 genpkg_rules()
pascal@11203 35 {
pascal@11203 36 mkdir -p $fs/usr
pankso@12521 37 cp -a $install/usr/bin $fs/usr
pascal@11203 38 chmod +x $fs/usr/bin/*
pascal@11203 39 }
pascal@11203 40