wok view xorg-libXfont/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
parents da39ce2eb72c
children 71393a5eff0a
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont"
4 VERSION="1.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server keyboard library."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libXfont"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc \
18 --mandir=/usr/share/man --localstatedir=/var \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip $fs/usr/lib/*
30 }