wok diff incron/receipt @ rev 24988

Fix perl-gd & tcptrack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 11:01:25 2022 +0000 (2022-05-12)
parents 83b97236db32
children 5db546345599
line diff
     1.1 --- a/incron/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/incron/receipt	Thu May 12 11:01:25 2022 +0000
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="incron"
     1.7 -VERSION="0.5.10"
     1.8 +VERSION="0.5.12"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="The inotify cron handles filesystem events."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://inotify.aiken.cz/"
    1.15 -WGET_URL="${WEB_SITE}download/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/ar-/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    1.19 +
    1.20  CONFIG_FILES="/etc/incron.d"
    1.21  
    1.22 -DEPENDS="gcc-lib-base"
    1.23 +DEPENDS=""
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -23,17 +25,16 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	sed -i 's|/usr/local|/usr|' Makefile
    1.32 +	sed -i 's|/usr/local|/usr|'	Makefile
    1.33  	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make install DESTDIR=$DESTDIR
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/sbin $fs/usr
    1.44 -	cp -a $install/etc $fs/
    1.45 -	cp -a $install/var $fs/
    1.46 +	cook_copy_folders	bin
    1.47 +	cook_copy_folders	etc
    1.48 +	cook_copy_folders	sbin
    1.49 +	cook_copy_folders	var
    1.50  }