wok-next annotate xorg-libXfont/receipt @ rev 15608
hubbub: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:31:17 2013 +0000 (2013-12-06) |
parents | b490f13f6603 |
children | 7f37d839c1c0 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXfont" |
pankso@12513 | 4 VERSION="1.4.5" |
pankso@87 | 5 CATEGORY="x-window" |
al@14644 | 6 SHORT_DESC="X font Library" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14644 | 8 LICENSE="other" |
pankso@87 | 9 SOURCE="libXfont" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 11 WEB_SITE="http://www.x.org/" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 13 |
al@14644 | 14 DEPENDS="bzlib freetype xorg-libfontenc" |
al@14644 | 15 BUILD_DEPENDS="freetype-dev zlib-dev xorg-xtrans xorg-fontsproto xorg-libfontenc-dev" |
pankso@12513 | 16 |
pankso@87 | 17 # Rules to configure and make the package. |
pankso@87 | 18 compile_rules() |
pankso@87 | 19 { |
pankso@3012 | 20 ./configure \ |
pankso@12513 | 21 --sysconfdir=/etc \ |
pankso@12513 | 22 --localstatedir=/var \ |
al@14644 | 23 --disable-static \ |
al@14644 | 24 --disable-devel-docs \ |
pascal@5008 | 25 $CONFIGURE_ARGS && |
al@14644 | 26 make && |
al@14644 | 27 make install |
pankso@87 | 28 } |
pankso@87 | 29 |
pankso@87 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 31 genpkg_rules() |
pankso@87 | 32 { |
pankso@87 | 33 mkdir -p $fs/usr/lib |
pankso@12513 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 35 } |