mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
32 lines
728 B
YAML
32 lines
728 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
|
|
env:
|
|
linux/x86-64:
|
|
CFLAGS: -fPIC
|
|
CXXFLAGS: -fPIC
|
|
LDFLAGS: -pie
|
|
|
|
test:
|
|
lame --genre-list
|