wok-current annotate xorg-mkfontdir/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
parents | bf4417b54ba9 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@11203 | 1 # SliTaz package receipt. |
pascal@11203 | 2 |
pascal@11203 | 3 PACKAGE="xorg-mkfontdir" |
pankso@12521 | 4 VERSION="1.0.7" |
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/" |
pankso@12521 | 11 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pascal@11203 | 12 TAGS="utility xorg fonts" |
pankso@12521 | 13 |
pascal@11203 | 14 DEPENDS="xorg-mkfontscale" |
pascal@11203 | 15 |
pankso@12521 | 16 # Rules to configure and make the package.ls sr |
pascal@11203 | 17 compile_rules() |
pascal@11203 | 18 { |
pascal@11203 | 19 cd $src |
pascal@11203 | 20 ./configure \ |
pascal@11203 | 21 --mandir=/usr/share/man \ |
pascal@11203 | 22 $CONFIGURE_ARGS && |
pankso@12521 | 23 make && make install |
pascal@11203 | 24 } |
pascal@11203 | 25 |
pascal@11203 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 27 genpkg_rules() |
pascal@11203 | 28 { |
pascal@11203 | 29 mkdir -p $fs/usr |
pankso@12521 | 30 cp -a $install/usr/bin $fs/usr |
pascal@11203 | 31 chmod +x $fs/usr/bin/* |
pascal@11203 | 32 } |
pascal@11203 | 33 |