wok-next annotate incron/receipt @ rev 20683
Up pciids (20180517), usbids (20180504)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 15:15:42 2018 +0300 (2018-05-18) |
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 } |