You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/openrdate/openrdate-1.1.3.ebuild

32 lines
832 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/openrdate/openrdate-1.1.3.ebuild,v 1.3 2012/05/21 19:15:30 xarthisius Exp $
inherit autotools eutils
DESCRIPTION="use TCP or UDP to retrieve the current time of another machine"
HOMEPAGE="http://sourceforge.net/projects/openrdate/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${PN}-1.1.3-rename.patch
cd "${S}"
eautomake
mv docs/{,open}rdate.8
}
src_install(){
emake -j1 DESTDIR="${D}" install || die "make install failed"
newinitd "${FILESDIR}"/openrdate-initd openrdate
newconfd "${FILESDIR}"/openrdate-confd openrdate
}