aboutsummaryrefslogtreecommitdiffstats
path: root/main/xvidcore/APKBUILD
blob: 564b766819319554151c78c27a4dc9ed16ff89d8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.3.4
pkgrel=1
pkgdesc="XviD is an open source MPEG-4 video codec"
url="http://www.xvid.org/"
arch="all"
options="!check"  # No test suite
license="GPL-2.0+"
subpackages="$pkgname-dev"
depends=
makedepends=
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname/build/generic"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-assembly
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="09c0dca898ad8ba32161d979dea66730c235d9649e93e5053f0e0f0d02f8996f0f85d629728bff16d3253b71e0435809360e6cf4d72801e63c061f2a0b0dbe7d  xvidcore-1.3.4.tar.bz2"