summaryrefslogtreecommitdiffstats
path: root/build
blob: 25c3e3ead88cd6e4359c1bf9f1bd2128a96b010a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--disable-static \
		--disable-curl --disable-ssl-curl --disable-gpg \
		--with-opkglibdir=/var/lib
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la
	ln -sf opkg-cl dest/usr/bin/opkg
	ln -sf opkg-cl.1 dest/usr/share/man/man1/opkg.1
	oh-fixperms
	oh-strip -k
	oh-installfiles