summaryrefslogtreecommitdiff
blob: 16e7f53671fe6878d0b2cb219299a1e99d809cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit base

DESCRIPTION="Daemon that locks files into memory"
HOMEPAGE="http://doc.coker.com.au/projects/memlockd/"
SRC_URI="http://www.coker.com.au/${PN}/${PN}_${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_install() {
	doman memlockd.8 || die
	newdoc changes.txt ChangeLog || die

	# TODO: adjust default config to Gentoo
	insinto /etc/
	doins memlockd.cfg || die

	dosbin memlockd || die

	doinitd "${FILESDIR}"/${PN} || die
}