aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-17 14:09:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-17 14:09:42 +0000
commit5158b854425831475b61413254a516cb6dea9f99 (patch)
tree24ba54538bd1c474a6c82cb7c8fe1132926a78c9
parent43584fa36df1f5b410b6d1d8afe3f6957d585fe7 (diff)
downloadaports-5158b854425831475b61413254a516cb6dea9f99.tar.bz2
aports-5158b854425831475b61413254a516cb6dea9f99.tar.xz
x11/x264: upgrade to 20100107
-rw-r--r--x11/x264/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/x11/x264/APKBUILD b/x11/x264/APKBUILD
index 2d3d93f3e2..2429f146b1 100644
--- a/x11/x264/APKBUILD
+++ b/x11/x264/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x264
-pkgver=20090706
+pkgver=20100107
pkgrel=0
pkgdesc="free library for encoding H264/AVC video streams"
url="http://www.videolan.org/developers/x264.html"
@@ -10,9 +10,9 @@ makedepends="libx11-dev bash"
subpackages="$pkgname-dev"
source="http://ftp.videolan.org/pub/videolan/$pkgname/snapshots/$pkgname-snapshot-$pkgver-2245.tar.bz2"
-build ()
-{
- cd "$srcdir/$pkgname-snapshot-$pkgver-2245" || return 1
+_builddir="$srcdir/$pkgname-snapshot-$pkgver-2245"
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--enable-pthread \
--enable-visualize \
@@ -20,6 +20,10 @@ build ()
--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="1b321022c9b023d520714d1e5153b1f6 x264-snapshot-20090706-2245.tar.bz2"
+md5sums="58337bf425518cb79dd804bcfd10b7b7 x264-snapshot-20100107-2245.tar.bz2"