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

include ../source.mk

build:
	chmod a+x src/configure
	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
	oh-fixperms
	oh-strip -k
	oh-installfiles