summaryrefslogtreecommitdiffstats
path: root/build
blob: 86d47164ff10004c5d99b38a4b7e81f0c6522109 (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
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--disable-rpath
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		oh-autotest; \
	fi
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libgpg-error.la
	rm -Rf dest/usr/share/common-lisp/
	mkdir dest/usr/share/doc/
	mv dest/usr/share/libgpg-error/ dest/usr/share/doc/libgpg-error.0/
	oh-fixperms
	oh-strip
	oh-installfiles