wok-next diff xorg-font-xfree86-type1/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-xfree86-type1/receipt	Sat Feb 25 14:11:16 2017 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-font-xfree86-type1"
     1.7 +VERSION="1.0.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xfree86 Type1 Cursor font"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="other"
    1.12 +WEB_SITE="https://www.x.org/wiki/"
    1.13 +TAGS="font"
    1.14 +
    1.15 +TARBALL="font-xfree86-type1-$VERSION.tar.bz2"
    1.16 +WGET_URL="$XORG_MIRROR/font/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure \
    1.24 +		--sysconfdir=/etc \
    1.25 +		--localstatedir=/var \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	cook_copy_files *.pfa *.afm
    1.35 +}
    1.36 +
    1.37 +post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/Type1; }
    1.38 +post_remove()  { chroot "$1/" fc-cache; }