aboutsummaryrefslogblamecommitdiffstats
path: root/main/xvidcore/APKBUILD
blob: a98e91dc8d5b85990b2ebdd55e0e3730e231d58d (plain) (tree)
1
2
3
4
5
6
7

                                                   
            
        

                                                   
          





                                                                     
         
                                           

                                   
                        



                                           





                                          
                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
pkgver=1.2.2
pkgrel=2
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="6a3473a12c8a1fa7bdc2b5cb829fab58  xvidcore-1.2.2.tar.bz2"