# SliTaz package receipt. PACKAGE="xorg-font-misc-ethiopic" VERSION="1.0.4" CATEGORY="x-window" SHORT_DESC="Ethiopic font Goha-Tibeb Zemen (OTF & TTF)" MAINTAINER="pankso@slitaz.org" DEPENDS="" BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev \ xorg-mkfontscale" SOURCE="font-misc-ethiopic" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.x.org/" WGET_URL="$XORG_MIRROR/font/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/share/fonts $fs/usr/share } post_install() { chroot "$1/" fc-cache -r /usr/share/fonts/X11/OTF /usr/share/fonts/X11/TTF } post_remove() { chroot "$1/" fc-cache -r }