I have added host-opkg so opkg-cl is available for use in building an ipk repository.
Signed-off-by: George McCollister <[email protected]> --- rules/host-opkg.in | 11 +++++++++++ rules/host-opkg.make | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 0 deletions(-) create mode 100644 rules/host-opkg.in create mode 100644 rules/host-opkg.make diff --git a/rules/host-opkg.in b/rules/host-opkg.in new file mode 100644 index 0000000..7309eb0 --- /dev/null +++ b/rules/host-opkg.in @@ -0,0 +1,11 @@ +## SECTION=hosttools_noprompt + +config HOST_OPKG + tristate + select HOST_OPKG_UTILS + help + opkg is used on the development host to install packets into + some directory. Example: + + opkg-cl -o . --force-depends -f ../generic/etc/opkg.conf install foo.ipk + diff --git a/rules/host-opkg.make b/rules/host-opkg.make new file mode 100644 index 0000000..c5da34f --- /dev/null +++ b/rules/host-opkg.make @@ -0,0 +1,45 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by George McCollister <[email protected]> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_OPKG) += host-opkg + +# +# Paths and names +# + +HOST_OPKG = $(OPKG) +HOST_OPKG_DIR = $(HOST_BUILDDIR)/$(HOST_OPKG) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_OPKG_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_OPKG_CONF_TOOL := autoconf +HOST_OPKG_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --enable-shave \ + --with-opkglockfile=/lock + +HOST_OPKG_CONF_OPT += --disable-pathfinder +HOST_OPKG_CONF_OPT += --disable-curl +HOST_OPKG_CONF_OPT += --disable-sha256 +HOST_OPKG_CONF_OPT += --disable-openssl +HOST_OPKG_CONF_OPT += --disable-ssl-curl +HOST_OPKG_CONF_OPT += --disable-gpg + +# vim: syntax=make -- 1.7.1 -- ptxdist mailing list [email protected]
