blob: 4c2d40e053992a311b2fe73ffbe81d058a3f05f6 (
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
|
#!/usr/bin/make -f
include ../source.mk
build:
oh-autoconfigure -- \
--enable-threads --disable-java \
--without-emacs
oh-autobuild
touch $@
install: build
oh-autoinstall
# Remove unversioned links to internal libraries.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.so
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.so
# Remove GNU Libtool archive files.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libasprintf.la
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.la
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextpo.la
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.la
# Put all documentation files in /usr/share/doc/gettext-base/.
mkdir -p dest/usr/share/doc/gettext-base/
mv dest/usr/share/doc/*/* dest/usr/share/doc/gettext-base/
ln -sf gettext_toc.html dest/usr/share/doc/gettext-base/index.html
# Remove GNU Info index.
rm -f dest/usr/share/info/dir
oh-strip
oh-installfiles
|