summaryrefslogtreecommitdiff
blob: 3d30761e7b3e1ffc2d9a83625f5bc6b3fe830504 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

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=""

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

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

	dosbin memlockd

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