From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/xvidcore/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/xvidcore/APKBUILD (limited to 'main/xvidcore/APKBUILD') diff --git a/main/xvidcore/APKBUILD b/main/xvidcore/APKBUILD new file mode 100644 index 0000000000..64858bf8df --- /dev/null +++ b/main/xvidcore/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa +pkgname=xvidcore +pkgver=1.2.1 +pkgrel=1 +pkgdesc="XviD is an open source MPEG-4 video codec" +url="http://www.xvid.org/" +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 + 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" -- cgit v1.2.3