| Summary: | atsar_linux-1.6.ebuild [New Package] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Garcia <diego> |
| Component: | New packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | enhancement | Keywords: | EBUILD |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | astar_linux-1.6.ebuild | ||
|
Description
Diego Garcia
2004-02-03 17:28:38 UTC
Created attachment 24912 [details]
astar_linux-1.6.ebuild
as this is used by the ltp (ltp.sf.net), it would be very nice to see this go in & become available. if it's needed by ltp then perhaps dragonheart is interested Diego - you really didn't test this did you?
It's a redhat init script.
The init script, cron job and other scripts refer to programs in /usr/local/bin
Please attach a init script and check the other scripts are of some use.
The ebuild cause bugz isn't letting me attach stuff.
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
MY_P=${PN}_linux-${PV}
DESCRIPTION="Load Analysis on the most relevant system-resources"
SRC_URI="ftp://ftp.atcomputing.nl/pub/tools/linux/${MY_P}.tar.gz"
HOMEPAGE="http://www.atcomputing.nl"
LICENSE="GPL-2"
SLOT="0"
DEPEND=""
KEYWORDS="x86"
S=${WORKDIR}/${MY_P}
src_unpack() {
sed -i -e "s/cc -o/$(tc-getCC) -o/" -e "s:/usr/local/:/usr:g" Makefile */Makefile
sed -i -e "s:/usr/local/:/usr:g" -e "s:^:#:g" atsar_linux.cron
sed -i -e "s:/usr/local/:/usr:g" scripts/*
}
src_compile() {
emake || die
}
src_install () {
dodir /var/log/atsar
doman man/*
into /usr
dobin atsar/atsar atsadc/atsadc
dobin scripts/*
newinitd ${FILESDIR}/atsar_linux.init atsar
newcrond atsar_linux.cron atsar
insinto /etc ; newins atsar_linux.conf atsar.conf
dodoc README
}
reopen when info is attached. |