2008-07-18 11:29:53 +00:00
|
|
|
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
|
2008-11-03 03:59:59 +00:00
|
|
|
bindir=$(PREFIX)/bin
|
2008-07-18 11:29:53 +00:00
|
|
|
|
|
|
|
|
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)
|
2008-11-03 03:59:59 +00:00
|
|
|
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
|
2008-07-18 11:29:53 +00:00
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf opkg-compare-versions
|