wok-next view xorg-font-adobe-utopia-type1/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents ea3c4b76ea5d
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-adobe-utopia-type1"
4 VERSION="1.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Adobe Type 1 font Utopia"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7font.html"
12 TARBALL="font-adobe-utopia-type1-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir"
17 compile_rules() {
18 ./configure \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 copy @std
28 TAGS="font"
29 }
31 post_install() {
32 chroot "$1/" fc-cache -r /usr/share/fonts/X11/Type1
33 }
34 post_remove() {
35 chroot "$1/" fc-cache -r
36 }