wok-4.x annotate xorg-libXfont/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | 413b0174114a |
children | 07ae722ec64e |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXfont" |
pankso@5294 | 4 VERSION="1.4.0" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="Xorg server keyboard library." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@87 | 8 SOURCE="libXfont" |
pankso@87 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5008 | 10 DEPENDS="freetype xorg-libfontenc" |
pankso@87 | 11 WEB_SITE="http://www.x.org/" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 13 |
pankso@87 | 14 # Rules to configure and make the package. |
pankso@87 | 15 compile_rules() |
pankso@87 | 16 { |
pankso@3012 | 17 cd $src |
pankso@3012 | 18 ./configure \ |
pankso@3012 | 19 --prefix=/usr --sysconfdir=/etc \ |
pankso@3012 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@5008 | 21 $CONFIGURE_ARGS && |
pascal@5008 | 22 make && |
pankso@3012 | 23 make DESTDIR=$PWD/_pkg install |
pankso@87 | 24 } |
pankso@87 | 25 |
pankso@87 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 27 genpkg_rules() |
pankso@87 | 28 { |
pankso@87 | 29 mkdir -p $fs/usr/lib |
pankso@3012 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 31 } |
pankso@87 | 32 |