summaryrefslogtreecommitdiffstats
path: root/package/jhead/jhead.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/jhead/jhead.mk')
-rw-r--r--package/jhead/jhead.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/jhead/jhead.mk b/package/jhead/jhead.mk
new file mode 100644
index 000000000..e9843ae3b
--- /dev/null
+++ b/package/jhead/jhead.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# jhead
+#
+#############################################################
+
+JHEAD_VERSION = 2.97
+JHEAD_SITE = http://www.sentex.net/~mwandel/jhead
+JHEAD_LICENSE = Public Domain
+JHEAD_LICENSE_FILES = readme.txt
+
+define JHEAD_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define JHEAD_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/jhead $(TARGET_DIR)/usr/bin/jhead
+endef
+
+$(eval $(generic-package))