diff options
Diffstat (limited to 'main/x264/APKBUILD')
-rw-r--r-- | main/x264/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD new file mode 100644 index 000000000..b983286e0 --- /dev/null +++ b/main/x264/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=x264 +pkgver=20110621 +pkgrel=0 +pkgdesc="free library for encoding H264/AVC video streams" +url="http://www.videolan.org/developers/x264.html" +arch="all" +license="GPL" +depends= +makedepends="libx11-dev bash" +subpackages="$pkgname-dev" +source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" +_builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --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="cecaaab3265cbdc46cc89920742d7339 x264-snapshot-20110621-2245-stable.tar.bz2" |