make some changes in yasnd live ebuild

These changes are:
- use new autotools functions
- install init.d script(from contrib folder)
This commit is contained in:
Sergey Popov 2012-03-01 13:31:02 +04:00
parent 99de31c3ce
commit 158c7b5762
2 changed files with 9 additions and 4 deletions

View File

@ -1 +1 @@
EBUILD yasnd-9999.ebuild 466 RMD160 df6d3e298f92a223bb6bccaa369255e1c5b4f1e2 SHA1 1ccde98939840eab37f2ce36535785f411d0bdc3 SHA256 71e80f22fb3d5a0116da160be815280e423ae7cffb37b297d73ef39861c1bfbd EBUILD yasnd-9999.ebuild 572 RMD160 39ec2c574b99227e802f6f43fb5c4099e2c96f3a SHA1 ecd81f50949717219f4ba34d20d0bb50b63bc436 SHA256 11b1391c35c7abc0e7d8c77d50d2e0b34afa59664691356b8b9957f1e90fca0f

View File

@ -3,7 +3,7 @@
EAPI="4" EAPI="4"
inherit git-2 autotools inherit git-2 autotools-utils
DESCRIPTION="Yet Another Stupid Network Daemon, tool that checks hosts' availability" DESCRIPTION="Yet Another Stupid Network Daemon, tool that checks hosts' availability"
HOMEPAGE="http://github.com/Pinkbyte/yasnd" HOMEPAGE="http://github.com/Pinkbyte/yasnd"
@ -18,6 +18,11 @@ SRC_URI=""
RDEPEND="app-mobilephone/gammu RDEPEND="app-mobilephone/gammu
dev-libs/confuse" dev-libs/confuse"
src_prepare() { DEPEND="${RDEPEND}"
eautoreconf
AUTOTOOLS_AUTORECONF="1"
src_install() {
newinitd contrib/yasnd.openrc yasnd
autotools-utils_src_install
} }