summaryrefslogtreecommitdiffstats
path: root/package/opkg/opkg.mk
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2012-05-15 08:34:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-18 23:38:50 +0200
commit20d4b4148f3bd2697093ab8adef4f642c358581d (patch)
treeaf38463dc41b0d03a8d6ac9b9ad4aa648fe8034f /package/opkg/opkg.mk
parente9b6a0c7d5700c38ba6a63f9dc5f467d26325776 (diff)
downloadbuildroot-novena-20d4b4148f3bd2697093ab8adef4f642c358581d.tar.gz
buildroot-novena-20d4b4148f3bd2697093ab8adef4f642c358581d.zip
Add package 'opkg'
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/opkg/opkg.mk')
-rw-r--r--package/opkg/opkg.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
new file mode 100644
index 000000000..9cfaa26c1
--- /dev/null
+++ b/package/opkg/opkg.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# opkg
+#
+#############################################################
+
+OPKG_VERSION = 0.1.8
+OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
+OPKG_SITE = http://opkg.googlecode.com/files
+OPKG_INSTALL_STAGING = YES
+OPKG_CONF_OPT = --disable-curl --disable-gpg
+
+# Ensure directory for lockfile exists
+define OPKG_CREATE_LOCKDIR
+ mkdir -p $(TARGET_DIR)/usr/lib/opkg
+endef
+
+OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
+
+$(eval $(call AUTOTARGETS))