aboutsummaryrefslogtreecommitdiffstats
path: root/main/xvidcore/APKBUILD
blob: 2e1fe94b695c9bb7520775f931799ea71ff33a90 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.3.0
pkgrel=0
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"

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

package() {
	cd "$srcdir"/$pkgname/build/generic
	make DESTDIR="$pkgdir" install
	cd "$pkgdir"/usr/lib
	mylib=$(basename libxvidcore.so.*)
	ln -sf ${mylib} libxvidcore.so.4
	ln -sf ${mylib} libxvidcore.so
}
md5sums="22621243c4a588dcee599e77736309c2  xvidcore-1.3.0.tar.bz2"