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 | 12 ++++++++++++ rules/host-opkg.make | 44 ++++++++++++++++++++++++++++++++++++++++++++ 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..2bb2140 --- /dev/null +++ b/rules/host-opkg.in @@ -0,0 +1,12 @@ +## SECTION=hosttools_noprompt + +config HOST_OPKG + tristate + default ALLYES + 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..ffdff20 --- /dev/null +++ b/rules/host-opkg.make @@ -0,0 +1,44 @@ +# -*-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 \ + --disable-pathfinder \ + --disable-curl \ + --disable-sha256 \ + --disable-openssl \ + --disable-ssl-curl \ + --disable-gpg + +# vim: syntax=make -- 1.7.1 -- ptxdist mailing list [email protected]
