summaryrefslogtreecommitdiff
path: root/package/updatedd/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/updatedd/Makefile
Initial import
Diffstat (limited to 'package/updatedd/Makefile')
-rw-r--r--package/updatedd/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/package/updatedd/Makefile b/package/updatedd/Makefile
new file mode 100644
index 000000000..c6c1b555d
--- /dev/null
+++ b/package/updatedd/Makefile
@@ -0,0 +1,52 @@
+# $Id$
+#-
+# 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:= updatedd
+PKG_VERSION:= 2.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 95655596eb6e0e381d60a458f6a45fee
+MASTER_SITES:= http://savannah.nongnu.org/download/updatedd/
+DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
+
+include ${TOPDIR}/mk/package.mk
+
+define PKG_libinstall
+${INSTALL_DIR} ${IDIR_${1}}/usr/lib/updatedd
+${INSTALL_BIN} ${WRKINST}/usr/lib/updatedd/lib${2}.so ${IDIR_${1}}/usr/lib/updatedd/
+endef
+
+$(eval $(call PKG_template,UPDATEDD,updatedd,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_CHANGEIP,updatedd-mod-changeip,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_DYNDNS,updatedd-mod-dyndns,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_EURODYNDNS,updatedd-mod-eurodyndns,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_HN,updatedd-mod-hn,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_NOIP,updatedd-mod-noip,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_ODS,updatedd-mod-ods,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_OVH,updatedd-mod-ovh,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_REGFISH,updatedd-mod-regfish,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,UPDATEDD_MOD_TZO,updatedd-mod-tzo,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_UPDATEDD}/etc/init.d
+ ${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/updatedd ${IDIR_UPDATEDD}/usr/bin/
+ ${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/lib/updatedd
+ $(call PKG_libinstall,UPDATEDD_MOD_CHANGEIP,changeip)
+ $(call PKG_libinstall,UPDATEDD_MOD_DYNDNS,dyndns)
+ $(call PKG_libinstall,UPDATEDD_MOD_EURODYNDNS,eurodyndns)
+ $(call PKG_libinstall,UPDATEDD_MOD_HN,hn)
+ $(call PKG_libinstall,UPDATEDD_MOD_NOIP,noip)
+ $(call PKG_libinstall,UPDATEDD_MOD_ODS,ods)
+ $(call PKG_libinstall,UPDATEDD_MOD_OVH,ovh)
+ $(call PKG_libinstall,UPDATEDD_MOD_REGFISH,regfish)
+ $(call PKG_libinstall,UPDATEDD_MOD_TZO,tzo)
+
+include ${TOPDIR}/mk/pkg-bottom.mk