blob: 01083384a546a56af55dd447d5454fb3df0c02e3 (
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
29
30
31
32
33
34
35
36
|
#!/usr/bin/make -f
include ../source.mk
abi_ver = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | sed 's/[.].*//')
nop:
@:
configure:
oh-autoconfigure
touch $@
build: configure
oh-autobuild -- SHLIB_LIBS='-ltinfo'
touch $@
install: build
oh-autoinstall
# Remove static libraries.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/*.a
# Put all documentation files in /usr/share/doc/libreadline.*/.
mkdir -p dest/usr/share/doc/libreadline.$(abi_ver)
mv dest/usr/share/readline \
dest/usr/share/doc/libreadline.$(abi_ver)/examples
# Remove source package documentation.
rm -f \
dest/usr/share/doc/readline/CHANGES \
dest/usr/share/doc/readline/README \
dest/usr/share/doc/readline/INSTALL
# Remove GNU Info index.
rm -f dest/usr/share/info/dir
oh-fixperms
oh-strip -k
oh-installfiles
oh-shlibdeps
|