summaryrefslogtreecommitdiff
path: root/repo/libmad/libmad.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/libmad/libmad.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/libmad/libmad.xibuild')
-rw-r--r--repo/libmad/libmad.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/libmad/libmad.xibuild b/repo/libmad/libmad.xibuild
new file mode 100644
index 0000000..265aec5
--- /dev/null
+++ b/repo/libmad/libmad.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="libmad"
+DESC="A high-quality MPEG audio decoder"
+
+MAKEDEPS="make"
+DEPS="musl"
+
+PKG_VER=0.15.1b
+SOURCE="https://downloads.sourceforge.net/sourceforge/mad/libmad-$PKG_VER.tar.gz"
+ADDITIONAL="md_size.patch mad.pc libmad.thumb.patch libmad-0.15.1b-cflags.patch libmad-0.15.1b-cflags-O2.patch length-check.patch automake.patch Provide-Thumb-2-alternative-code-for-MAD_F_MLN.patch "
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}