aboutsummaryrefslogtreecommitdiffstats
path: root/community/xvidcore/APKBUILD
blob: e94f68ba7bd04633534536554bec943aeacda677 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.3.5
pkgrel=0
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-dev"
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname/build/generic"

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

package() {
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.a
}
sha512sums="3297243400ce9ed2d0083559ee15fdfa422e585114c4e92c72fe702f43fea4af9fe4e9e794630959c220222379fa329452c4163a395f4ba1998c9be03a2e9441  xvidcore-1.3.5.tar.bz2"