# SliTaz package receipt. PACKAGE="xorg-font-adobe-utopia-type1" VERSION="1.0.4" CATEGORY="x-window" SHORT_DESC="Adobe Type 1 font Utopia." MAINTAINER="pankso@slitaz.org" DEPENDS="" BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev \ xorg-mkfontscale" SOURCE="font-adobe-utopia-type1" 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/Type1 } post_remove() { chroot "$1/" fc-cache -r }