summaryrefslogtreecommitdiff
path: root/package/maradns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/maradns/Makefile')
-rw-r--r--package/maradns/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/package/maradns/Makefile b/package/maradns/Makefile
index 631d8482a..b481106c3 100644
--- a/package/maradns/Makefile
+++ b/package/maradns/Makefile
@@ -9,14 +9,18 @@ PKG_NAME:= maradns
PKG_VERSION:= 1.0.41
PKG_RELEASE:= 1
PKG_MD5SUM:= 9abc13da25c1103d788ee9def1c8e764
-MASTER_SITES:= http://www.maradns.org/download/1.0/
+PKG_DESCR:= small and secure DNS server
+PKG_SECTION:= net
+PKG_DEPENDS:= libpthread
+PKG_URL:= http://www.maradns.org
+PKG_SITES:= http://www.maradns.org/download/1.0/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MARADNS,maradns,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,MARADNS,maradns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-#CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
MAKE_FLAGS+= CFLAGS="${TCFLAGS}" \
FLAGS="${TCFLAGS}" \
@@ -31,11 +35,10 @@ pre-install:
mkdir -p ${WRKINST}/usr/man/man{1,5,8}
post-install:
- ${INSTALL_DIR} ${IDIR_MARADNS}/etc/{init.d,maradns}
- ${INSTALL_DIR} ${IDIR_MARADNS}/usr/{s,}bin
+ ${INSTALL_DIR} ${IDIR_MARADNS}/etc/maradns
+ ${INSTALL_DIR} ${IDIR_MARADNS}/usr/bin ${IDIR_MARADNS}/usr/sbin
${INSTALL_DATA} ./files/mararc ${IDIR_MARADNS}/etc/mararc
${INSTALL_DATA} ./files/sample.{zone,ptr} ${IDIR_MARADNS}/etc/maradns/
- ${INSTALL_BIN} ./files/maradns.init ${IDIR_MARADNS}/etc/init.d/${PKG_NAME}
${CP} ${WRKINST}/usr/bin/{askmara,getzone} ${IDIR_MARADNS}/usr/bin/
${CP} ${WRKINST}/usr/sbin/{maradns,zoneserver} ${IDIR_MARADNS}/usr/sbin/