X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=admin%2Fportage%2Fnet-misc%2Ficmpdn%2Ficmpdn-0.2.ebuild;fp=admin%2Fportage%2Fnet-misc%2Ficmpdn%2Ficmpdn-0.2.ebuild;h=c0e086fdfdfd308597502c91d1feaac3dfd823c0;hb=93c90f9b370109eb3d69f132d063267f410b8638;hp=0000000000000000000000000000000000000000;hpb=d21ba03b371e6b7a094e00a330a72309cd70a5ff;p=icmp-dn.git diff --git a/admin/portage/net-misc/icmpdn/icmpdn-0.2.ebuild b/admin/portage/net-misc/icmpdn/icmpdn-0.2.ebuild new file mode 100644 index 0000000..c0e086f --- /dev/null +++ b/admin/portage/net-misc/icmpdn/icmpdn-0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2005 Fredrik Tolf +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="ICMP Domain Name utilities" +HOMEPAGE="http://www.dolda2000.com/~fredrik/icmp-dn/" +SRC_URI="http://www.dolda2000.com/~fredrik/icmp-dn/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} +} + +src_compile() { + econf --sysconfdir=/etc \ + --libdir=/lib || die "Configuration failed" + emake || die "Make failed" +} + +src_install() { + make install DESTDIR=${D} || die "Install failed" + fperms 4755 /usr/bin/idnlookup + doinitd ${FILESDIR}/icmpdnd.init icmpdnd + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README +} + +pkg_postinst() { + einfo + einfo "To use the ICMP nameswitch module, add \"icmp\"" + einfo "to the \"hosts\" line in your /etc/nsswitch.conf" + einfo + ebeep 3 +}