aboutsummaryrefslogtreecommitdiff
path: root/package/aiccu/aiccu.mk
diff options
context:
space:
mode:
authorGravatar Michael Rommel <rommel@layer-7.net>2013-09-13 22:57:04 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-15 21:38:27 +0200
commit1e9b983fe24fd9345df609e1f84a570208cdb45e (patch)
treed031f5b5e220e98377eb987bfbb0f27d902c4b68 /package/aiccu/aiccu.mk
parent710e0b4d69c2fd334cfdda0bbd5e35545e4414a6 (diff)
downloadbuildroot-1e9b983fe24fd9345df609e1f84a570208cdb45e.tar.gz
buildroot-1e9b983fe24fd9345df609e1f84a570208cdb45e.tar.bz2
aiccu: new package
Automatic IPv6 Connectivity Configuration Utility for users of a IPv6 tunnel broker, developed by sixxs.net [Peter: drop strip patch, pass TARGET_CONFIGURE_OPTS] Signed-off-by: Michael Rommel <rommel@layer-7.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/aiccu/aiccu.mk')
-rw-r--r--package/aiccu/aiccu.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/aiccu/aiccu.mk b/package/aiccu/aiccu.mk
new file mode 100644
index 0000000000..2c54644728
--- /dev/null
+++ b/package/aiccu/aiccu.mk
@@ -0,0 +1,34 @@
+################################################################################
+#
+# aiccu
+#
+################################################################################
+
+AICCU_VERSION = 20070115
+AICCU_SOURCE = aiccu_$(AICCU_VERSION).tar.gz
+AICCU_SITE = http://www.sixxs.net/archive/sixxs/aiccu/unix/
+AICCU_LICENSE = SixXS License, concise redistribution license
+AICCU_LICENSE_FILES = doc/LICENSE
+AICCU_DEPENDENCIES = gnutls
+
+# dummy RPM_OPT_FLAGS to disable stripping
+define AICCU_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) CC="$(TARGET_CC)" \
+ RPM_OPT_FLAGS=1 -C $(@D)/unix-console all
+endef
+
+define AICCU_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \
+ $(TARGET_DIR)/usr/sbin/aiccu
+ [ -f $(TARGET_DIR)/etc/aiccu.conf ] || \
+ $(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
+ $(TARGET_DIR)/etc/aiccu.conf
+endef
+
+define AICCU_INSTALL_INIT_SYSV
+ [ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \
+ $(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
+ $(TARGET_DIR)/etc/init.d/S50aiccu
+endef
+
+$(eval $(generic-package))