wok-current annotate incron/receipt @ rev 17381

Add incron
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 14:59:55 2014 +0100 (2014-11-26)
parents
children 76ae76cc543f
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@17381 12
pascal@17381 13 DEPENDS="gcc-lib-base"
pascal@17381 14
pascal@17381 15 # Rules to configure and make the package.
pascal@17381 16 compile_rules()
pascal@17381 17 {
pascal@17381 18 sed -i 's|/usr/local|/usr|' Makefile
pascal@17381 19 make &&
pascal@17381 20 make DESTDIR=$DESTDIR install
pascal@17381 21 }
pascal@17381 22
pascal@17381 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17381 24 genpkg_rules()
pascal@17381 25 {
pascal@17381 26 mkdir -p $fs/usr
pascal@17381 27 cp -a $install/usr/bin $fs/usr
pascal@17381 28 cp -a $install/usr/sbin $fs/usr
pascal@17381 29 cp -a $install/etc $fs/
pascal@17381 30 cp -a $install/var $fs/
pascal@17381 31 }