wok-current annotate xorg-mkfontdir/receipt @ rev 25758
Up firefox-official (128.8.0esr)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Mar 05 09:14:14 2025 +0000 (7 days ago) |
parents | 5d79829fa876 |
children |
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 |
shann@25728 | 17 HOST_ARCH="i486 x86_64" |
shann@25728 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pankso@12521 | 25 # Rules to configure and make the package.ls sr |
pascal@11203 | 26 compile_rules() |
pascal@11203 | 27 { |
pascal@11203 | 28 cd $src |
pascal@11203 | 29 ./configure \ |
pascal@11203 | 30 --mandir=/usr/share/man \ |
pascal@11203 | 31 $CONFIGURE_ARGS && |
pankso@12521 | 32 make && make install |
pascal@11203 | 33 } |
pascal@11203 | 34 |
pascal@11203 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 36 genpkg_rules() |
pascal@11203 | 37 { |
pascal@11203 | 38 mkdir -p $fs/usr |
pankso@12521 | 39 cp -a $install/usr/bin $fs/usr |
pascal@11203 | 40 chmod +x $fs/usr/bin/* |
pascal@11203 | 41 } |
pascal@11203 | 42 |