wok-next diff xorg-font-misc-misc/receipt @ rev 19650

Complete xorg-fonts.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 25 14:11:16 2017 +0200 (2017-02-25)
parents
children f463de72afe3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-font-misc-misc/receipt	Sat Feb 25 14:11:16 2017 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-font-misc-misc"
     1.7 +VERSION="1.1.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Misc bitmap fixed fonts"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="PublicDomain"
    1.12 +WEB_SITE="https://www.x.org/wiki/"
    1.13 +TAGS="font"
    1.14 +COOKOPTS="!gz" # too long
    1.15 +
    1.16 +TARBALL="font-misc-misc-$VERSION.tar.bz2"
    1.17 +WGET_URL="$XORG_MIRROR/font/$TARBALL"
    1.18 +
    1.19 +BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--localstatedir=/var \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	cook_copy_files *.pcf.gz
    1.36 +}
    1.37 +
    1.38 +post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/misc; }
    1.39 +post_remove()  { chroot "$1/" fc-cache; }