wok-stable view xorg-libXft/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents 001263391a12
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXft"
4 VERSION="2.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="fontconfig xorg-libXrender"
9 BUILD_DEPENDS="fontconfig-dev xorg-libXrender-dev"
10 SOURCE="libXft"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr --sysconfdir=/etc \
21 --mandir=/usr/share/man --localstatedir=/var \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }