summaryrefslogtreecommitdiff
path: root/package/argp-standalone/argp-standalone.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-11-02 16:35:11 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-05 00:01:58 +0100
commit666bef2d20a35507827284c874e23f43c3745f34 (patch)
treefa466a5c76c7eec56470fde195e086843af0cc6b /package/argp-standalone/argp-standalone.mk
parentde642c9904b13914017af6f10db144d559d6bd0c (diff)
argp-standalone: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/argp-standalone/argp-standalone.mk')
-rw-r--r--package/argp-standalone/argp-standalone.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/argp-standalone/argp-standalone.mk b/package/argp-standalone/argp-standalone.mk
new file mode 100644
index 000000000..f48d0e699
--- /dev/null
+++ b/package/argp-standalone/argp-standalone.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# argp-standalone
+#
+#############################################################
+
+ARGP_STANDALONE_VERSION = 1.3
+ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive
+ARGP_STANDALONE_INSTALL_STAGING = YES
+
+define ARGP_STANDALONE_INSTALL_STAGING_CMDS
+ $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a
+ $(INSTALL) -D $(@D)/argp.h $(STAGING_DIR)/usr/include/argp.h
+endef
+
+define ARGP_STANDALONE_INSTALL_TARGET_CMDS
+ $(INSTALL) -D $(@D)/libargp.a $(TARGET_DIR)/usr/lib/libargp.a
+ $(INSTALL) -D $(@D)/argp.h $(TARGET_DIR)/usr/include/argp.h
+endef
+
+$(eval $(call AUTOTARGETS,package,argp-standalone))