wok-next annotate xorg-font-misc-meltho/receipt @ rev 20128
Up celestia (1.6.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 11:58:18 2017 +0100 (2017-10-31) |
parents | f463de72afe3 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19650 | 2 |
al@19650 | 3 PACKAGE="xorg-font-misc-meltho" |
al@19650 | 4 VERSION="1.0.3" |
al@19650 | 5 CATEGORY="x-window" |
al@19650 | 6 SHORT_DESC="Syriac fonts (OTF)" |
al@19650 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19805 | 8 LICENSE="MIT" |
al@19650 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19650 | 10 |
al@19650 | 11 TARBALL="font-misc-meltho-$VERSION.tar.bz2" |
al@19650 | 12 WGET_URL="$XORG_MIRROR/font/$TARBALL" |
al@19650 | 13 |
al@19650 | 14 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir" |
al@19805 | 15 PKG_RULE="std" |
al@19650 | 16 |
al@19650 | 17 # Rules to configure and make the package. |
al@19650 | 18 compile_rules() |
al@19650 | 19 { |
al@19650 | 20 ./configure \ |
al@19650 | 21 --sysconfdir=/etc \ |
al@19650 | 22 --localstatedir=/var \ |
al@19650 | 23 $CONFIGURE_ARGS && |
al@19650 | 24 make && |
al@19650 | 25 make install |
al@19650 | 26 } |
al@19650 | 27 |
al@19650 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19650 | 29 genpkg_rules() |
al@19650 | 30 { |
al@19805 | 31 copy @std |
al@19805 | 32 TAGS="font" |
al@19650 | 33 } |
al@19650 | 34 |
al@19805 | 35 post_install() { |
al@19805 | 36 chroot "$1/" fc-cache -r /usr/share/fonts/X11/OTF |
al@19805 | 37 } |
al@19805 | 38 post_remove() { |
al@19805 | 39 chroot "$1/" fc-cache -r |
al@19805 | 40 } |