diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/lame/lame.xibuild | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/lame/lame.xibuild')
-rw-r--r-- | repo/lame/lame.xibuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/lame/lame.xibuild b/repo/lame/lame.xibuild new file mode 100644 index 0000000..311292b --- /dev/null +++ b/repo/lame/lame.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="lame" +DESC="An MP3 encoder and graphical frame analyzer" + +MAKEDEPS="make nasm" +DEPS="musl " + +PKG_VER=3.100 +SOURCE="https://downloads.sourceforge.net/project/lame/lame/$PKG_VER/lame-$PKG_VER.tar.gz" + +prepare () { + # fix for parallel builds + mkdir -p libmp3lame/i386/.libs + + # fix for pic build with new nasm + sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h + + aclocal && automake --force --add-missing +} + +build () { + ./configure \ + --prefix=/usr + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static \ + --disable-mp3x \ + --enable-nasm \ + --with-pic + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |