mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
34 lines
724 B
Bash
34 lines
724 B
Bash
# Maintainer: Phil Miller <philm@chakra-project.org>
|
|
|
|
# NOTE might break. restart the build
|
|
|
|
pkgname=lame
|
|
pkgver=3.99.5
|
|
pkgrel=1
|
|
pkgdesc="An MP3 encoder and graphical frame analyzer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://lame.sourceforge.net/"
|
|
depends=('ncurses')
|
|
makedepends=('nasm')
|
|
license=('LGPL')
|
|
options=('!libtool')
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('84835b313d4a8b68f5349816d33e07ce')
|
|
|
|
build() {
|
|
export MAKEFLAGS="-j1"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-nasm \
|
|
--enable-shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|