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

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	# XXX: libpng12-config is an architecture-dependent file in an
	# architecture-independent path.  Some package build systems may need
	# this script, but they should probably just be patched to use
	# pkg-config instead.
	rm dest/usr/bin/libpng*-config
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng*.la
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng.so.3*
	oh-fixperms
	oh-strip -k
	oh-installfiles