blob: 0efe30658b98bf39f2b8239a3b15ea434b3b1116 (
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
|
#!/usr/bin/make -f
upstream_source_dir = vorbis
# For 1.3.4 (from <https://www.xiph.org/downloads/>):
source_md5sum = 8851c593a52d1ef9c526d95174873852
include ../source.mk
nop:
@:
build:
oh-autoconfigure -- \
--enable-static \
--with-pic
oh-autobuild
if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
oh-autobuild -T check; \
fi
touch $@
install: build
oh-autoinstall
rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la
mv dest/usr/share/doc/libvorbis-*/ dest/usr/share/doc/libvorbis.0/
# https://trac.xiph.org/ticket/1673
rm -f dest/usr/share/doc/libvorbis.0/doxygen-build.stamp
oh-fixperms
oh-strip
oh-installfiles
|