aboutsummaryrefslogtreecommitdiff
path: root/package/sredird/sredird.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sredird/sredird.mk')
-rw-r--r--package/sredird/sredird.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/sredird/sredird.mk b/package/sredird/sredird.mk
new file mode 100644
index 0000000000..ad91f6a412
--- /dev/null
+++ b/package/sredird/sredird.mk
@@ -0,0 +1,27 @@
+#############################################################
+#
+# sredird
+#
+#############################################################
+
+SREDIRD_VERSION = 2.2.1-1.1
+SREDIRD_SOURCE = sredird_$(SREDIRD_VERSION).tar.gz
+SREDIRD_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sredird
+
+define SREDIRD_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define SREDIRD_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
+endef
+
+define SREDIRD_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/sbin/sredird
+endef
+
+define SREDIRD_CLEAN_CMDS
+ rm -f $(@D)/sredird
+endef
+
+$(eval $(call GENTARGETS,package,sredird))