mirror of
https://git.yoctoproject.org/git/opkg-utils
synced 2026-02-10 07:16:46 +01:00
Thanks for khorben's patch :-) https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff
20 lines
570 B
Makefile
20 lines
570 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
|
|
|
|
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
|