aboutsummaryrefslogtreecommitdiffstats
path: root/main/xvidcore/APKBUILD
blob: 984fca0791d3de859da7f6bb6142cef88f8fc245 (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
31
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.3.3
pkgrel=1
pkgdesc="XviD is an open source MPEG-4 video codec"
url="http://www.xvid.org/"
arch="all"
license="GPL"
subpackages="$pkgname-dev"
depends=
makedepends="nasm"
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"

prepare() {
	cd "$srcdir"/$pkgname
}

build() {
	cd "$srcdir"/$pkgname/build/generic
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-assembly \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname/build/generic
	make DESTDIR="$pkgdir" install
	cd "$pkgdir"/usr/lib
}
md5sums="f0a77572ac4694038e8519726b2883d9  xvidcore-1.3.3.tar.bz2"
sha256sums="b0e1ba805a776f791e45040b9aaa0d7ca6d0cb1e4899c7fded275fb57139af54  xvidcore-1.3.3.tar.bz2"
sha512sums="e2178ee946fa057cf465da855b702e74fbab04347020ab7900850c07dfcd5202003fcd579fc404e0a567807285607ed4bcd14dc4c074ea19123143f03af80f09  xvidcore-1.3.3.tar.bz2"