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

EAPI=6

inherit eutils

DESCRIPTION="Network printer command-line adminstration tool"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://npadmin.sourceforge.net/"

# this does NOT link against SNMP
DEPEND=""

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

PATCHES=(
	"${FILESDIR}"/${P}-stdlib.patch
	"${FILESDIR}"/${P}-gcc6.patch
)

src_install() {
	dobin npadmin
	doman npadmin.1
	dodoc README AUTHORS ChangeLog INSTALL NEWS README TODO
}