summaryrefslogtreecommitdiff
path: root/user/xvidcore/APKBUILD
blob: db9e20006e24dfcb1d3d162bb239b536fcdb5608 (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
27
28
29
30
# Maintainer: 
pkgname=xvidcore
pkgver=1.3.5
pkgrel=0
pkgdesc="Open source MPEG-4 video codec"
url="https://labs.xvid.com/"
arch="all"
options="!check"  # No test suite
license="GPL-2.0+"
subpackages="$pkgname-dev"
depends=""
makedepends=""
source="https://downloads.xvid.com/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname/build/generic"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="3297243400ce9ed2d0083559ee15fdfa422e585114c4e92c72fe702f43fea4af9fe4e9e794630959c220222379fa329452c4163a395f4ba1998c9be03a2e9441  xvidcore-1.3.5.tar.bz2"