sys-apps/micro-evtd: correct system detect

(Portage version: 2.2.0_alpha78/git/Linux x86_64, unsigned Manifest commit)
This commit is contained in:
Mario Fetka
2011-12-21 21:18:46 +01:00
parent df335ea69a
commit 48d86b63b3
5 changed files with 46 additions and 71 deletions

View File

@@ -35,6 +35,10 @@ src_prepare() {
EPATCH_FORCE="yes" EPATCH_EXCLUDE="makefile.patch" epatch
#epatch "${FILESDIR}/strEventScript-size.patch"
ln -sf micro-evtd.mak Makefile
pushd src
ln -sf micro-evtd.c micro-evtd.pro.c
ln -sf micro-evtd.c micro-evtd.tera.c
popd
}
src_compile() {
@@ -45,7 +49,6 @@ src_compile() {
src_install() {
emake SBIN_PREFIX=/usr DESTDIR="${D}" PROGNAME="micro-evtd.pro" install || die "install failed"
emake SBIN_PREFIX=/usr DESTDIR="${D}" PROGNAME="micro-evtd.tera" install || die "install failed"
newsbin ${FILESDIR}/micro-evtd.command micro-evtd
# doman debian/microapl.8
# doman debian/micro_evtd.8