diff --git a/projects/lame.sourceforge.io/package.yml b/projects/lame.sourceforge.io/package.yml new file mode 100644 index 00000000..b8db076b --- /dev/null +++ b/projects/lame.sourceforge.io/package.yml @@ -0,0 +1,27 @@ +distributable: + url: https://prdownloads.sourceforge.net/project/lame/lame/{{version.raw}}/lame-{{version.raw}}.tar.gz + strip-components: 1 + +versions: + - '3.100' + +provides: + - bin/lame + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + script: | + # Fix for Undefined symbols ... "_lame_init_old" + # https://sourceforge.net/p/lame/mailman/message/36081038/ + sed -i.bak "/lame_init_old/d" include/libmp3lame.sym + + ./configure --prefix={{prefix}} \ + --disable-debug \ + --disable-dependency-tracking \ + --enable-nasm + make install + +test: + lame --genre-list