blob: bb8810b7582ba6eeb8d950c746ff661383adc82d (
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
|
#!/usr/bin/make -f
include ../source.mk
nop:
@:
build:
oh-autobuild
if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
oh-autotest; \
fi
touch $@
install: build
oh-autoinstall -- PREFIX="$${PWD}/dest"
install -d dest/usr/lib/ dest/usr/share/
mv dest/lib/ dest/usr/lib/$(OPK_HOST_ARCH)/
mv dest/include/ dest/usr/include/
mv dest/man/ dest/usr/share/
ln -sf libbz2.$(OPK_SOURCE_VERSION_UPSTREAM) \
dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so.1.0
ln -sf libbz2.so.1.0 dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so
oh-fixperms
oh-strip
oh-installfiles
|