wok-next view xorg-font-ibm-type1/receipt @ rev 19783

Up receipts to v2 syntax: cook_copy_files & cook_copy_folders -> copy
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 18 04:38:10 2017 +0300 (2017-06-18)
parents 2ea3014282d7
children ea3c4b76ea5d
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-font-ibm-type1"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="IBM Courier Type1 font"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
10 TAGS="font"
12 TARBALL="font-ibm-type1-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy *.pfa *.afm
32 }
34 post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/Type1; }
35 post_remove() { chroot "$1/" fc-cache; }