mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/lockrun: EAPI 6 bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
30
dev-util/lockrun/lockrun-20120508-r1.ebuild
Normal file
30
dev-util/lockrun/lockrun-20120508-r1.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lockrun - runs cronjobs with overrun protection"
|
||||
HOMEPAGE="http://www.unixwiz.net/tools/lockrun.html"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${FILESDIR}"/${PN}.c-${PV} "${S}"/${PN}.c || die
|
||||
cp -v "${FILESDIR}"/${PN}.c-${PV} "${S}"/README || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) ${PN}
|
||||
sed -i README -e '60q;s|^ \*||g' || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin ${PN}
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user