blob: 8a1a19949c26fc1d37972868894ea5920a9adb9d (
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
31
32
33
34
35
36
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit eutils multilib
DESCRIPTION="A daemon to multicast or repsond to multicasted hardware info."
HOMEPAGE="http://opensource.dyc.edu/hwmultd"
SRC_URI="http://opensource.dyc.edu/pub/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
pkg_setup() {
enewgroup hwmultd
enewuser hwmultd -1 -1 /dev/null "hwmultd,uucp"
}
src_install() {
dodir /etc/init.d
newinitd "${FILESDIR}"/hwmultd.initd-r1 hwmultd
newconfd "${FILESDIR}"/hwmultd.confd hwmultd
emake DESTDIR="${D}" install
#Remove libtool .la files
cd "${D}"/usr/$(get_libdir)/hwmultd
rm -f *.la
}
|