SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "incron"

# SliTaz package receipt.

PACKAGE="incron"
VERSION="0.5.12"
CATEGORY="base-system"
SHORT_DESC="The inotify cron handles filesystem events."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://inotify.aiken.cz/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/ar-/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"

CONFIG_FILES="/etc/incron.d"

DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/doc/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|/usr/local|/usr|'    Makefile
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    etc
    cook_copy_folders    sbin
    cook_copy_folders    var
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)