aboutsummaryrefslogtreecommitdiffstats
path: root/community/xvidcore/APKBUILD
blob: 897209afec49671ca0801f0d4b2d347b12425325 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.3.7
pkgrel=1
pkgdesc="XviD is an open source MPEG-4 video codec"
url="https://www.xvid.com/"
arch="all"
options="!check"  # No test suite
license="GPL-2.0-or-later"
subpackages="$pkgname-static $pkgname-dev"
source="https://downloads.xvid.com/downloads/xvidcore-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname/build/generic"

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

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="e2b22e7a7e103af7adcc999d95484f991a0a33df02b912fe042b2e23d2af07381c737d23158dbf0fad770ee680572f86fbe04ab2ef33c81e2e0180ead2acc8ed  xvidcore-1.3.7.tar.bz2"