wok-next view xorg-font-bitstream-100dpi/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 68de41d5ba77
children ea3c4b76ea5d
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-font-bitstream-100dpi"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Bitstream bitmap fonts Charter, Terminal (100 DPI)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
10 TAGS="font"
11 COOKOPTS="!gz" # too long
13 TARBALL="font-bitstream-100dpi-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/font/$TARBALL"
16 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy *.pcf.gz
33 }
35 post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/100dpi; }
36 post_remove() { chroot "$1/" fc-cache; }