wok-next diff logsurfer/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 6d962c98dafd |
children | d457c4e37c1b |
line diff
1.1 --- a/logsurfer/receipt Wed Nov 05 12:59:05 2014 +0100 1.2 +++ b/logsurfer/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,31 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="logsurfer" 1.8 VERSION="1.8" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="A program for monitoring system logs in real-time." 1.11 +SHORT_DESC="A program for monitoring system logs in real-time" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL" 1.14 +WEB_SITE="http://www.crypt.gen.nz/logsurfer" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.crypt.gen.nz/logsurfer" 1.18 WGET_URL="$WEB_SITE/$TARBALL" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - mkdir -p $DESTDIR/usr/share/man/man1 \ 1.24 - $DESTDIR/usr/share/man/man4 \ 1.25 - $DESTDIR/usr/bin 1.26 - sed -i "s|dir = @|dir = $DESTDIR/@|" Makefile.in 1.27 - ./configure --prefix=/usr \ 1.28 +compile_rules() { 1.29 + mkdir -p \ 1.30 + $install/usr/share/man/man1 \ 1.31 + $install/usr/share/man/man4 \ 1.32 + $install/usr/bin 1.33 + sed -i "s|dir = @|dir = $install/@|" Makefile.in 1.34 + 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 $CONFIGURE_ARGS && 1.38 make && 1.39 - make DESTDIR=$DESTDIR install 1.40 + make DESTDIR=$install install 1.41 } 1.42 1.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 -genpkg_rules() 1.45 -{ 1.46 - mkdir -p $fs/usr 1.47 - cp -a $install/usr/bin $fs/usr 1.48 +genpkg_rules() { 1.49 + copy @std 1.50 }