aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libvpx/abuild
blob: 39a10ee692b19fd0496e7c75b9aeedbd88339cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name=libvpx
version=1.15.1
release=1
source="https://github.com/webmproject/$name/archive/v$version/$name-$version.tar.gz"

build() {
	# Remove the perl requirement from configure.
	# Also fix issue with non-GNU diff.
	sed 's/perl/:/g;s/diff --version/command -v diff/' -i configure
	
	mkdir libvpx-build
	cd    libvpx-build
	
	../configure --prefix=/usr --enable-shared
	make
	make install
}