9 Commits

Author SHA1 Message Date
Ryan Barnett
74ccbee0f7 Makefile: separate manpages and utils install
The installation of opkg-build man page introduces a host dependency
on perl for the pod2man package to generate the man page.

To allow the opkg-utils scripts to be installed separately from the
manpages, break apart the install step into two install steps:
install-utils and install-docs

CC: Christian Hermann <mail@hermannch.dev>
Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
2021-02-23 16:13:01 -06:00
Alex Stewart
5e733dff52 Makefile: add opkg-feed to UTILS
* Add the opkg-feed script to UTILS so that it is installed with a `make
  install`.

* Clean up the UTILS variable declaration to be a little more diffable.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2020-02-18 15:46:06 -06:00
Alejandro del Castillo
3d481a9a45 Makefile: fixed for-loop in install receipe
The install receipe would have copied all the manpages to each of the
section folders. This change will do what I believe the original author
had intended.

Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2019-05-30 11:30:28 -05:00
Alejandro del Castillo
b736b318fd Makefile: prefer defined bindir and mandir as installation dirs
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2017-01-18 17:01:32 -06:00
Andrew Shadura
9830ab38ea opkg-build: Add a manpage in POD format.
Add a manpage for opkg-build and a corresponding Makefile
snippet to build it using pod2man.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-10-05 13:33:37 -05:00
Alejandro del Castillo
3916b0a566 opkg-utils: remove opkg-compare-versions implementations
Currently, there are three compare-versions implementations:

1) opkg-utils: opkg-compare-versions.c
2) opkg-utils: opkg-compare-versions.sh
3) opkg: internal

To avoid confusion and avoid maintaining three codebases, remove the
compare-versions functionality from opkg-utils and only keep the
implementation on the opkg binary.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-06-23 15:59:42 -05:00
Paul Barker
fd4a3a4c20 update-alternatives: Script copied from opkg
The update-alternatives script is being moved from opkg to opkg-utils to break
possible circular dependencies in openembedded. As opkg will depend on
libarchive soon, and may depend on other packages if certain options are
enabled, opkg cannot itself provide update-alternatives if its dependencies
require update-alternatives.

opkg-utils has minimal build-time dependencies and so is a good place to put the
update-alternatives script.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-01-14 20:13:58 +00:00
Tick Chen
002d29bc60 [opkg-utils] fix install fail problem
Thanks for khorben's patch :-)
 https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff
2008-11-03 03:59:59 +00:00
Holger 'Zecke' Freyther
234524f33d [opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of o-hand.com
I've attached a first attempt at this, its basically a small set of
    helper scripts which OE/Poky use when working with ipks. I've applied
    the various OE improvements and tweaks and removed a ton of cruft we
    don't need.
2008-07-18 11:29:53 +00:00