wok-next diff epm/receipt @ rev 20807

nagios: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 13 10:39:16 2018 +0200 (2018-06-13)
parents d36394ef35a1
children a3c581bf52b8
line diff
     1.1 --- a/epm/receipt	Wed Nov 20 16:06:44 2013 +0000
     1.2 +++ b/epm/receipt	Wed Jun 13 10:39:16 2018 +0200
     1.3 @@ -1,27 +1,21 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="epm"
     1.8  VERSION="4.2"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="File packaging program."
    1.11 +SHORT_DESC="File packaging program"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.msweet.org/projects.php?Z2"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
    1.17 -WEB_SITE="http://www.msweet.org/projects.php?Z2"
    1.18  WGET_URL="http://www.msweet.org/files/project2/$TARBALL"
    1.19  
    1.20 -DEPENDS=""
    1.21 -BUILD_DEPENDS=""
    1.22 -
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure --prefix=/usr && make -j 1
    1.27 +compile_rules() {
    1.28 +	./configure --prefix=/usr && make -j 1 &&
    1.29 +	install -Dm755 $src/epm $install/usr/bin/epm
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/bin
    1.36 -	cp -a $src/epm $fs/usr/bin
    1.37 +genpkg_rules() {
    1.38 +	copy @std
    1.39  }