wok-next view incron/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 76ae76cc543f |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="incron"
4 VERSION="0.5.10"
5 CATEGORY="base-system"
6 SHORT_DESC="The inotify cron handles filesystem events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://inotify.aiken.cz/"
11 WGET_URL="${WEB_SITE}download/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/incron.d"
14 DEPENDS="gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|fcntl.h>|&\n#include <unistd.h>|' icd-main.cpp
20 sed -i 's|/usr/local|/usr|' Makefile
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 cp -a $install/etc $fs/
32 cp -a $install/var $fs/
33 }