wok-next annotate logsurfer/receipt @ rev 18682

Add mps-youtube (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 09 18:50:42 2015 +0100 (2015-12-09)
parents
children d5aab818505e
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 }