linamh/app-admin/inoticoming/inoticoming-0.2.3.ebuild
2021-06-30 18:45:43 +02:00

29 lines
668 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="6"
inherit eutils user
DESCRIPTION="inoticoming is a daemon to watch a directory with Linux's inotify"
SRC_URI="mirror://debian/pool/main/i/${PN}/${PN}_${PV}.orig.tar.gz"
HOMEPAGE="http://alioth.debian.org/projects/mirrorer/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_install() {
emake DESTDIR="${D}" install
newinitd "${FILESDIR}"/inoticoming.initd inoticoming
newconfd "${FILESDIR}"/inoticoming.confd inoticoming
keepdir /var/spool/incoming
}