onesixtyone: fix fetch, fix ebuild to respect ldflags, drop old incorrect ebuild

This commit is contained in:
Zero_Chaos 2012-03-09 04:05:36 +00:00
parent 67c1c42ecd
commit 6adb3af92f
2 changed files with 5 additions and 7 deletions

View file

@ -1,2 +1,2 @@
DIST onesixtyone-0.3.2.tar.gz 7325 RMD160 2b6a4e6c15f198843da0e50dd8722b5d94c655e6 SHA1 347e24efa91385a7fb8283986b3e7521aa1fb059 SHA256 450806718f72a75ea108e3675ca7856f15c518fcf517df68483c486c39910d02
EBUILD onesixtyone-0.3.2-r1.ebuild 668 RMD160 0ccf47c9f94147988e4abd8d5311fd2a96b8958d SHA1 431249717df9eae8b69825d1e840d5f159547329 SHA256 3726266e8e47b98ca7a49d0782bd8b3fe18b419fca7e93bf6053faa564d46cee
EBUILD onesixtyone-0.3.2-r2.ebuild 618 RMD160 2adfcc371f2aa43136766cb7b0b46689ee1624ae SHA1 7467cd49f4cffc8a1e49d28fb8e8166e318cab9f SHA256 ff100caa836a3826089cb50d5c34b8961f0d396ba336963141e1cd47c79a80a3

View file

@ -1,14 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/
EAPI="2"
EAPI="4"
DESCRIPTION="An efficient SNMP scanner"
HOMEPAGE="http://www.phreedom.org/solar/onesixtyone/"
SRC_URI="http://www.phreedom.org/solar/${PN}/${P}.tar.gz"
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"
@ -18,7 +16,7 @@ DEPEND=""
RDEPEND=""
src_prepare() {
sed -i "s|-o|$CFLAGS -o|g" Makefile || die "sed failed"
sed -i 's|gcc -o|$(CC) $(CFLAGS) $(LDFLAGS) -o|g' Makefile || die "sed failed"
}
src_install() {