aboutsummaryrefslogtreecommitdiffstats
path: root/main/xvidcore
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-10 16:32:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-10 16:32:20 +0000
commitd8b2eaeca3d4d3a26405c3ec62b19d8d22c3e9e8 (patch)
treef842f1a56d935c96c6720335810d0942ace1e0f8 /main/xvidcore
parent562d6bd3bbac3cc84aa3f7a7df56bf3dea124020 (diff)
downloadaports-d8b2eaeca3d4d3a26405c3ec62b19d8d22c3e9e8.tar.bz2
aports-d8b2eaeca3d4d3a26405c3ec62b19d8d22c3e9e8.tar.xz
main/xvidcore: upgrade to 1.2.2
Diffstat (limited to 'main/xvidcore')
-rw-r--r--main/xvidcore/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/xvidcore/APKBUILD b/main/xvidcore/APKBUILD
index 64858bf8df..20a071cce4 100644
--- a/main/xvidcore/APKBUILD
+++ b/main/xvidcore/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvidcore
-pkgver=1.2.1
-pkgrel=1
+pkgver=1.2.2
+pkgrel=0
pkgdesc="XviD is an open source MPEG-4 video codec"
url="http://www.xvid.org/"
license="GPL"
@@ -10,16 +10,19 @@ depends=
makedepends="nasm"
source="http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+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="8c4470ae8e5a104abedb39f6c70e2a40 xvidcore-1.2.1.tar.bz2"
+md5sums="6a3473a12c8a1fa7bdc2b5cb829fab58 xvidcore-1.2.2.tar.bz2"