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