wok-next diff incron/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 27bfe81dc6bd
children
line diff
     1.1 --- a/incron/receipt	Thu Nov 16 16:28:30 2017 +0100
     1.2 +++ b/incron/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,33 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="incron"
     1.8  VERSION="0.5.10"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The inotify cron handles filesystem events."
    1.11 +SHORT_DESC="The inotify cron handles filesystem events"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://inotify.aiken.cz/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://inotify.aiken.cz/"
    1.18  WGET_URL="${WEB_SITE}download/$PACKAGE/$TARBALL"
    1.19 -CONFIG_FILES="/etc/incron.d"
    1.20  
    1.21 -DEPENDS="gcc-lib-base"
    1.22 -
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i 's|fcntl.h>|&\n#include <unistd.h>|' icd-main.cpp
    1.28  	sed -i 's|/usr/local|/usr|' Makefile
    1.29 +
    1.30  	make &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	make DESTDIR=$install install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	mkdir -p $fs/usr
    1.40  	cp -a $install/usr/bin $fs/usr
    1.41  	cp -a $install/usr/sbin $fs/usr
    1.42  	cp -a $install/etc $fs/
    1.43  	cp -a $install/var $fs/
    1.44 +	CONFIG_FILES="/etc/incron.d"
    1.45  }