2014-03-16 11:42:43 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2014-03-16 11:42:43 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtester/memtester-4.3.0.ebuild,v 1.6 2014/03/15 21:39:36 mattst88 Exp $
|
2012-06-11 14:30:26 +04:00
|
|
|
|
|
|
|
EAPI="4"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
inherit toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="userspace utility for testing the memory subsystem for faults"
|
|
|
|
HOMEPAGE="http://pyropus.ca/software/memtester/"
|
|
|
|
SRC_URI="http://pyropus.ca/software/memtester/${P}.tar.gz
|
|
|
|
http://pyropus.ca/software/memtester/old-versions/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2014-03-16 11:42:43 +04:00
|
|
|
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 sparc x86"
|
2011-11-09 11:33:19 +04:00
|
|
|
IUSE=""
|
|
|
|
|
2012-06-11 14:30:26 +04:00
|
|
|
src_prepare() {
|
2011-11-09 11:33:19 +04:00
|
|
|
echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc
|
|
|
|
echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2012-06-11 14:30:26 +04:00
|
|
|
dosbin memtester
|
2011-11-09 11:33:19 +04:00
|
|
|
doman memtester.8
|
|
|
|
dodoc BUGS CHANGELOG README README.tests
|
|
|
|
}
|