# SliTaz package receipt. PACKAGE="xorg-mkfontdir" VERSION="1.0.6" CATEGORY="x-window" SHORT_DESC="Create an index of X font files in a directory." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="mkfontdir" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://xorg.freedesktop.org/" WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" TAGS="utility xorg fonts" DEPENDS="xorg-mkfontscale" # Rules to configure and make the package.ls sr compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr chmod +x $fs/usr/bin/* }