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

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	# No static libraries or libtool archives:
	rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libpkgconf.a
	rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libpkgconf.la
	# These are installed using ob-installdocs:
	rm -f dest/usr/share/doc/pkgconf/AUTHORS
	rm -f dest/usr/share/doc/pkgconf/README.md
	install -d -m 0755 dest/usr/libexec
	# Install cross-building wrapper:
	mv dest/usr/bin/pkgconf dest/usr/libexec/pkgconf
	install -m 0755 ../pkgconf-wrapper.sh dest/usr/bin/pkgconf
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps