summaryrefslogtreecommitdiff
path: root/package/totd/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-02-18 00:51:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-21 13:46:53 +0100
commit67ec049f25e299957fada55ea8738e0967547c6f (patch)
tree2984369c881188552d454a1d0d9948ac91d4947a /package/totd/Makefile
parent844d072abc82c8f027df2229b6843838642b082e (diff)
port totd, the trick or treat daemon
This is a simple DNS-ALG implementation used for NAT-PT & Co.
Diffstat (limited to 'package/totd/Makefile')
-rw-r--r--package/totd/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/totd/Makefile b/package/totd/Makefile
new file mode 100644
index 000000000..938439e9b
--- /dev/null
+++ b/package/totd/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= totd
+PKG_VERSION:= 1.5.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 7edaedae9f6aca5912dd6c123582cf08
+PKG_DESCR:= Trick or Treat Daemon (a simple DNS-ALG for NAT-PT)
+PKG_SECTION:= dns
+PKG_URL:= http://www.dillema.net/software/totd.html
+PKG_SITES:= http://www.dillema.net/software/totd/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TOTD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_TOTD)/{usr/sbin,etc}
+ ${INSTALL_DATA} ./files/totd.conf ${IDIR_TOTD}/etc/
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/totd $(IDIR_TOTD)/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk