wok-6.x annotate logsurfer/receipt @ rev 17330

Add logsurfer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 05 12:59:05 2014 +0100 (2014-11-05)
parents
children 56ab00f400e9
rev   line source
pascal@17330 1 # SliTaz package receipt.
pascal@17330 2
pascal@17330 3 PACKAGE="logsurfer"
pascal@17330 4 VERSION="1.8"
pascal@17330 5 CATEGORY="system-tools"
pascal@17330 6 SHORT_DESC="A program for monitoring system logs in real-time."
pascal@17330 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17330 8 LICENSE="GPL"
pascal@17330 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17330 10 WEB_SITE="http://www.crypt.gen.nz/logsurfer"
pascal@17330 11 WGET_URL="$WEB_SITE/$TARBALL"
pascal@17330 12
pascal@17330 13 # Rules to configure and make the package.
pascal@17330 14 compile_rules()
pascal@17330 15 {
pascal@17330 16 mkdir -p $DESTDIR/usr/share/man/man1 \
pascal@17330 17 $DESTDIR/usr/share/man/man4 \
pascal@17330 18 $DESTDIR/usr/bin
pascal@17330 19 sed -i "s|dir = @|dir = $DESTDIR/@|" Makefile.in
pascal@17330 20 ./configure --prefix=/usr \
pascal@17330 21 $CONFIGURE_ARGS &&
pascal@17330 22 make &&
pascal@17330 23 make DESTDIR=$DESTDIR install
pascal@17330 24 }
pascal@17330 25
pascal@17330 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17330 27 genpkg_rules()
pascal@17330 28 {
pascal@17330 29 mkdir -p $fs/usr
pascal@17330 30 cp -a $install/usr/bin $fs/usr
pascal@17330 31 }