summaryrefslogtreecommitdiff
path: root/repo/media/lame.xibuild
blob: 6c2e2dcf99c569403b17d50ddf4d7560cedd4913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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"

build () {
    ./configure \
        --prefix=/usr
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static \
        --disable-mp3x \
        --enable-nasm \
        --with-pic
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}