mirror of
https://git.yoctoproject.org/git/opkg-utils
synced 2026-01-22 14:12:05 +01:00
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>
20 lines
590 B
Makefile
20 lines
590 B
Makefile
UTILS = opkg-build opkg-unbuild opkg-compare-versions opkg-make-index opkg.py \
|
|
opkg-list-fields arfile.py opkg-buildpackage opkg-diff opkg-extract-file opkg-show-deps \
|
|
opkg-compare-indexes opkg-compare-versions.sh update-alternatives
|
|
|
|
DESTDIR=
|
|
PREFIX=/usr/local
|
|
bindir=$(PREFIX)/bin
|
|
|
|
all: opkg-compare-versions
|
|
|
|
opkg-compare-versions: opkg-compare-versions.c
|
|
$(CC) $(CFLAGS) -o opkg-compare-versions opkg-compare-versions.c
|
|
|
|
install: opkg-compare-versions
|
|
install -d $(DESTDIR)$(bindir)
|
|
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
|
|
|
|
clean:
|
|
rm -rf opkg-compare-versions
|