diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/a52dec/a52dec.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/a52dec/a52dec.xibuild')
-rw-r--r-- | repo/a52dec/a52dec.xibuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/a52dec/a52dec.xibuild b/repo/a52dec/a52dec.xibuild new file mode 100644 index 0000000..2093040 --- /dev/null +++ b/repo/a52dec/a52dec.xibuild @@ -0,0 +1,38 @@ +#!/bin/sh + +NAME="a52dec" +DESC="A free library for decoding ATSC A/52 streams." + +MAKEDEPS="autoconf automake libtool linux-headers" + +PKG_VER=0.7.4 +SOURCE="http://liba52.sourceforge.net/files/a52dec-$PKG_VER.tar.gz" + +ADDITIONAL=" +a52dec-0.7.4-build.patch +automake.patch +fix-globals-test-x86-pie.patch +" + +prepare() { + apply_patches + libtoolize --force && \ + aclocal && autoconf && automake --add-missing +} + +build() { + ./configure \ + --prefix=/usr \ + --enable-shared + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install + install -m644 liba52/a52_internal.h "$PKG_DEST"/usr/include/a52dec/ +} + |