mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 23:01:02 +02:00
28 lines
618 B
Bash
28 lines
618 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="4"
|
|
|
|
DESCRIPTION="An efficient SNMP scanner"
|
|
HOMEPAGE="http://www.phreedom.org/software/onesixtyone/"
|
|
SRC_URI="http://www.phreedom.org/software/${PN}/releases/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~ppc"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
src_prepare() {
|
|
sed -i 's|gcc -o|$(CC) $(CFLAGS) $(LDFLAGS) -o|g' Makefile || die "sed failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin onesixtyone
|
|
dodoc ChangeLog INSTALL README
|
|
dodir /usr/share/${PN}/
|
|
insinto /usr/share/${PN}/
|
|
doins dict.txt
|
|
}
|