/[gentoo-x86]/net-misc/ntpclient/ntpclient-2007.365.ebuild
Gentoo

Contents of /net-misc/ntpclient/ntpclient-2007.365.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Jun 22 06:36:02 2008 UTC (11 years, 8 months ago) by solar
Branch: MAIN
- Initial commit
(Portage version: 2.1.4.4)

1 solar 1.1 # Copyright 2008-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     inherit eutils flag-o-matic toolchain-funcs
6    
7     DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers."
8     HOMEPAGE="http://doolittle.icarus.com/~larry/"
9     SRC_URI="http://doolittle.icarus.com/${PN}/${PN}_${PV/./_}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
14     IUSE=""
15    
16     RDEPEND=""
17     DEPEND=""
18    
19     S="${WORKDIR}/${PN}-2007"
20    
21     src_unpack() {
22     unpack ${A}
23     cd "${S}"
24     sed -i -e s/'-O2'// Makefile
25     }
26    
27     src_compile() {
28     filter-ldflags -Wl,--as-needed
29     tc-export CC
30     emake || die "emake failed in src_compile"
31     }
32    
33     src_install() {
34     dodir /usr/bin
35     dobin ntpclient
36     }

  ViewVC Help
Powered by ViewVC 1.1.20