wok-current rev 17330

Add logsurfer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 05 12:59:05 2014 +0100 (2014-11-05)
parents 16e3615b6d88
children 5499603fba0a
files logsurfer/receipt usbredir/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/logsurfer/receipt	Wed Nov 05 12:59:05 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="logsurfer"
     1.7 +VERSION="1.8"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="A program for monitoring system logs in real-time."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.crypt.gen.nz/logsurfer"
    1.14 +WGET_URL="$WEB_SITE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	mkdir -p $DESTDIR/usr/share/man/man1 \
    1.20 +		 $DESTDIR/usr/share/man/man4 \
    1.21 +		 $DESTDIR/usr/bin
    1.22 +	sed -i "s|dir = @|dir = $DESTDIR/@|" Makefile.in
    1.23 +	./configure --prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +}
     2.1 --- a/usbredir/receipt	Wed Nov 05 11:12:27 2014 +0100
     2.2 +++ b/usbredir/receipt	Wed Nov 05 12:59:05 2014 +0100
     2.3 @@ -26,6 +26,6 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/usr/lib
     2.7 -	cp -a $install/usr/sbin $fs/
     2.8 +	cp -a $install/usr/sbin $fs/usr
     2.9  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.10  }