wok-next view xorg-font-bitstream-100dpi/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
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="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 COOKOPTS="!gz" # too long
12 TARBALL="font-bitstream-100dpi-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
16 PKG_RULE="std"
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 @std
33 TAGS="font"
34 }
36 post_install() {
37 chroot "$1/" fc-cache -r /usr/share/fonts/X11/100dpi
38 }
39 post_remove() {
40 chroot "$1/" fc-cache -r
41 }