pantry/projects/lame.sourceforge.io/package.yml
James Reynolds b0cddb2a5a
+lame.sourceforge.io (#62)
* lame
* Remove metadata
* Remove needless test argument
* Doesn’t test on x86 linux so skipping that platform for now

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
Co-authored-by: Max Howell <mxcl@me.com>
2023-02-27 07:49:10 -05:00

28 lines
641 B
YAML

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