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