aboutsummaryrefslogblamecommitdiffstats
path: root/main/xvidcore/APKBUILD
blob: 64858bf8df1a3da36c8eb1cb849241266def8e14 (plain) (tree)
1
2
3
4


                                                   
        










                                                                     

                                   







                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.2.1
pkgrel=1
pkgdesc="XviD is an open source MPEG-4 video codec"
url="http://www.xvid.org/"
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
	make DESTDIR="$pkgdir" install
	cd "$pkgdir"/usr/lib
	mylib=$(basename libxvidcore.so.*)
	ln -sf ${mylib} libxvidcore.so.4
	ln -sf ${mylib} libxvidcore.so
}
md5sums="8c4470ae8e5a104abedb39f6c70e2a40  xvidcore-1.2.1.tar.bz2"