From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libmad/libmad.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/libmad/libmad.xibuild (limited to 'repo/libmad/libmad.xibuild') 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 +} -- cgit v1.2.1