summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xvidcore/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/xvidcore/APKBUILD b/user/xvidcore/APKBUILD
new file mode 100644
index 000000000..db9e20006
--- /dev/null
+++ b/user/xvidcore/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer:
+pkgname=xvidcore
+pkgver=1.3.5
+pkgrel=0
+pkgdesc="Open source MPEG-4 video codec"
+url="https://labs.xvid.com/"
+arch="all"
+options="!check" # No test suite
+license="GPL-2.0+"
+subpackages="$pkgname-dev"
+depends=""
+makedepends=""
+source="https://downloads.xvid.com/downloads/$pkgname-$pkgver.tar.bz2"
+builddir="$srcdir/$pkgname/build/generic"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3297243400ce9ed2d0083559ee15fdfa422e585114c4e92c72fe702f43fea4af9fe4e9e794630959c220222379fa329452c4163a395f4ba1998c9be03a2e9441 xvidcore-1.3.5.tar.bz2"