/[gentoo-x86]/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild
Gentoo

Contents of /sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Wed Jan 15 13:06:05 2014 UTC (4 years, 6 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -2 lines
Stable for arm, wrt bug #488756

(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --include-arches="arm", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild,v 1.16 2014/01/15 09:18:32 ago Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Name Service Switch module for resolving the local hostname"
8 HOMEPAGE="http://0pointer.de/lennart/projects/nss-myhostname/"
9 SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1+"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
14 IUSE=""
15
16 COMMON_DEPEND=""
17 RDEPEND="${COMMON_DEPEND}
18 !>=sys-apps/systemd-197"
19 DEPEND="${COMMON_DEPEND}"
20
21 src_prepare() {
22 # The documentation in doc/ is just the README file in other formats
23 sed -e 's:SUBDIRS *= *doc:SUBDIRS =:' -i Makefile.{am,in} ||
24 die "sed failed"
25 }
26
27 src_configure() {
28 econf --disable-lynx
29 }
30
31 pkg_postinst() {
32 elog "You must modify your name service switch lookup file to enable"
33 elog "nss-myhostname. To do so, add 'myhostname' to the hosts line in"
34 elog "/etc/nsswitch.conf"
35 elog
36 elog "An example hosts line looks like this:"
37 elog "hosts: files dns myhostname"
38 elog
39 }

  ViewVC Help
Powered by ViewVC 1.1.20