From: fredrik@DOLDA2000.COM Date: Tue, 24 May 2005 00:38:10 +0000 (+0000) Subject: First version that should be working. X-Git-Url: http://dolda2000.com/gitweb/?p=icmp-dn.git;a=commitdiff_plain;h=9aad29a105d32afcef1f04a5b55be6ec13e0fd04 First version that should be working. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@252 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/admin/icmpdn-0.1.ebuild b/admin/icmpdn-0.1.ebuild new file mode 100644 index 0000000..a2fb7b5 --- /dev/null +++ b/admin/icmpdn-0.1.ebuild @@ -0,0 +1,35 @@ +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 || die "Configuration failed" + emake || die "Make failed" +} + +src_install() { + make install DESTDIR=${D} || die "Install failed" + 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 +}