wok-next annotate incron/receipt @ rev 20334

Remove linux-uml & lxpanel-plugin-multiload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 16:28:30 2017 +0100 (2017-11-16)
parents 76ae76cc543f
children d5aab818505e
rev   line source
pascal@17381 1 # SliTaz package receipt.
pascal@17381 2
pascal@17381 3 PACKAGE="incron"
pascal@17381 4 VERSION="0.5.10"
pascal@17381 5 CATEGORY="base-system"
pascal@17381 6 SHORT_DESC="The inotify cron handles filesystem events."
pascal@17381 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17381 8 LICENSE="GPL2"
pascal@17381 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@17381 10 WEB_SITE="http://inotify.aiken.cz/"
pascal@17381 11 WGET_URL="${WEB_SITE}download/$PACKAGE/$TARBALL"
pascal@17384 12 CONFIG_FILES="/etc/incron.d"
pascal@17381 13
pascal@17381 14 DEPENDS="gcc-lib-base"
pascal@17381 15
pascal@17381 16 # Rules to configure and make the package.
pascal@17381 17 compile_rules()
pascal@17381 18 {
pascal@20334 19 sed -i 's|fcntl.h>|&\n#include <unistd.h>|' icd-main.cpp
pascal@17381 20 sed -i 's|/usr/local|/usr|' Makefile
pascal@17381 21 make &&
pascal@17381 22 make DESTDIR=$DESTDIR install
pascal@17381 23 }
pascal@17381 24
pascal@17381 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17381 26 genpkg_rules()
pascal@17381 27 {
pascal@17381 28 mkdir -p $fs/usr
pascal@17381 29 cp -a $install/usr/bin $fs/usr
pascal@17381 30 cp -a $install/usr/sbin $fs/usr
pascal@17381 31 cp -a $install/etc $fs/
pascal@17381 32 cp -a $install/var $fs/
pascal@17381 33 }