/[gentoo-x86]/net-misc/htpdate/htpdate-1.0.4.ebuild
Gentoo

Contents of /net-misc/htpdate/htpdate-1.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jun 19 22:08:34 2009 UTC (4 years, 10 months ago) by ranger
Branch: MAIN
Changes since 1.6: +2 -2 lines
keyworded ~arch for ppc64, bug 272590
(Portage version: 2.1.6.13/cvs/Linux ppc64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/htpdate-1.0.4.ebuild,v 1.6 2009/06/16 17:48:06 klausman Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="Synchronize local workstation with time offered by remote webservers"
8 HOMEPAGE="http://www.clevervest.com/htp/"
9 SRC_URI="http://www.clevervest.com/htp/archive/c/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha amd64 arm hppa ~mips ppc ~ppc64 s390 sh x86"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND=""
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 gunzip htpdate.8.gz || die
23 }
24
25 src_compile() {
26 emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" || die
27 }
28
29 src_install() {
30 dosbin htpdate || die
31 doman htpdate.8
32 dodoc README Changelog
33
34 newconfd "${FILESDIR}"/htpdate.conf htpdate
35 newinitd "${FILESDIR}"/htpdate.init htpdate
36 }
37
38 pkg_postinst() {
39 einfo "If you would like to run htpdate as a daemon set"
40 einfo "appropriate http servers in /etc/conf.d/htpdate!"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20