aboutsummaryrefslogblamecommitdiffstats
path: root/main/x264/APKBUILD
blob: c8790cda2de6da7d884def7cff7fc840b0f29681 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
               
        

                                                          
                 

             
                             


                                                                                                       


                                                  






                                        



                       

                                                                                                          
                                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x264
pkgver=20101013
pkgrel=0
pkgdesc="free library for encoding H264/AVC video streams"
url="http://www.videolan.org/developers/x264.html"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="libx11-dev bash"
subpackages="$pkgname-dev"
source="http://ftp.videolan.org/pub/videolan/$pkgname/snapshots/$pkgname-snapshot-$pkgver-2245.tar.bz2"

_builddir="$srcdir/$pkgname-snapshot-$pkgver-2245"
build() { 
	cd "$_builddir"
	./configure --prefix=/usr \
		--enable-pthread \
		--enable-visualize \
		--enable-shared \
		--disable-asm \
		--enable-pic || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
}
md5sums="332def30b4c8ba2d4ef307396a354c19  x264-snapshot-20101013-2245.tar.bz2"