wok-current view xorg-libXfont/receipt @ rev 15920
slitaz-base-files: create /var/run
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 18 20:18:29 2014 +0000 (2014-02-18) |
parents | 3e3e15d924c9 |
children | 73fb2ebfd59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont"
4 VERSION="1.4.5"
5 CATEGORY="x-window"
6 SHORT_DESC="X font Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 SOURCE="libXfont"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
14 DEPENDS="bzlib freetype xorg-libfontenc"
15 BUILD_DEPENDS="freetype-dev zlib-dev xorg-xtrans xorg-fontsproto xorg-libfontenc-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/STARTCHAR %s/STARTCHAR %99s/' src/bitmap/bdfread.c
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --disable-static \
25 --disable-devel-docs \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }