wok annotate xorg-libXft/receipt @ rev 4263
urxvt*: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 16:26:07 2009 +0200 (2009-09-25) |
parents | 857621a8b6e4 |
children | 55fede281d6c |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXft" |
pankso@3012 | 4 VERSION="2.1.13" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
rcx@3720 | 8 DEPENDS="glibc-base expat fontconfig freetype zlib \ |
rcx@3720 | 9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXrender" |
pankso@20 | 10 SOURCE="libXft" |
pankso@20 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pankso@20 | 15 # Rules to configure and make the package. |
pankso@20 | 16 compile_rules() |
pankso@20 | 17 { |
pankso@3012 | 18 cd $src |
pankso@3012 | 19 ./configure \ |
pankso@3012 | 20 --prefix=/usr --sysconfdir=/etc \ |
pankso@3012 | 21 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@3012 | 22 $CONFIGURE_ARGS |
pankso@3012 | 23 make |
pankso@3012 | 24 make DESTDIR=$PWD/_pkg install |
pankso@20 | 25 } |
pankso@20 | 26 |
pankso@20 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 28 genpkg_rules() |
pankso@20 | 29 { |
pankso@20 | 30 mkdir -p $fs/usr/lib |
pankso@3012 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 32 } |