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