wok-stable view groff/receipt @ rev 6947

Added dbus-dev and glib-dev to dbus-glib-dev depends. Needed for pkg-config --cflags dbus-glib-1 to work on clean chroot.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 24 21:06:53 2010 +0000 (2010-10-24)
parents
children 712198090123
line source
1 # SliTaz package receipt.
3 PACKAGE="groff"
4 VERSION="1.20.1"
5 CATEGORY="utilities"
6 SHORT_DESC="The GNU troff text-formatting system."
7 MAINTAINER="rocky@slitaz.org"
8 BUILD_DEPENDS="ghostscript"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/groff/groff.html"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 touch doc/gnu.eps
18 ./configure --prefix=/usr \
19 --mandir=/usr/man \
20 --without-x \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 rm -rf $fs/usr/share/info
34 rm -rf $fs/usr/share/doc
35 }