From 20d4b4148f3bd2697093ab8adef4f642c358581d Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Tue, 15 May 2012 08:34:23 +0000 Subject: Add package 'opkg' Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/opkg/opkg.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/opkg/opkg.mk (limited to 'package/opkg/opkg.mk') 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)) -- cgit v1.2.3