This ought to install the config files as well.
authorfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 24 May 2005 16:19:03 +0000 (16:19 +0000)
committerfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 24 May 2005 16:19:03 +0000 (16:19 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@256 959494ce-11ee-0310-bf91-de5d638817bd

admin/portage/net-misc/icmpdn/icmpdn-0.1.ebuild

index 60d1b29..16042e7 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright 2005 Fredrik Tolf <fredrik@dolda2000.com>
+# Distributed under the terms of the GNU General Public License v2
+
 inherit eutils
 
 DESCRIPTION="ICMP Domain Name utilities"
@@ -24,6 +27,10 @@ src_compile() {
 
 src_install() {
     make install DESTDIR=${D} || die "Install failed"
+    fperms 4755 /usr/bin/idnlookup
+    doinitd ${FILESDIR}/${PN}.init ${PN}
+    insinto /etc
+    newins ${S}/admin/nss-icmp.conf nss-icmp.conf
     dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README
 }