wok-undigest annotate xorg-mkfontdir/receipt @ rev 382

Add ucarp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 20 15:22:08 2011 +0200 (2011-08-20)
parents
children
rev   line source
pascal@365 1 # SliTaz package receipt.
pascal@365 2
pascal@365 3 PACKAGE="xorg-mkfontdir"
pascal@365 4 VERSION="1.0.6"
pascal@365 5 CATEGORY="x-window"
pascal@365 6 SHORT_DESC="Create an index of X font files in a directory."
pascal@365 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@365 8 SOURCE="mkfontdir"
pascal@365 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@365 10 WEB_SITE="http://xorg.freedesktop.org/"
pascal@365 11 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
pascal@365 12 TAGS="utility xorg fonts"
pascal@365 13 DEPENDS="xorg-mkfontscale"
pascal@365 14
pascal@365 15 # Rules to configure and make the package.ls sr
pascal@365 16 compile_rules()
pascal@365 17 {
pascal@365 18 cd $src
pascal@365 19 ./configure \
pascal@365 20 --prefix=/usr \
pascal@365 21 --mandir=/usr/share/man \
pascal@365 22 $CONFIGURE_ARGS &&
pascal@365 23 make &&
pascal@365 24 make DESTDIR=$DESTDIR install
pascal@365 25 }
pascal@365 26
pascal@365 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@365 28 genpkg_rules()
pascal@365 29 {
pascal@365 30 mkdir -p $fs/usr
pascal@365 31 cp -a $_pkg/usr/bin $fs/usr
pascal@365 32 chmod +x $fs/usr/bin/*
pascal@365 33 }
pascal@365 34