mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 19:47:13 +08:00
30 lines
680 B
Bash
30 lines
680 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/lame
|
|
|
|
pkgname=lame
|
|
pkgver=3.99.5
|
|
pkgrel=3
|
|
pkgdesc="A high quality MPEG Audio Layer III (MP3) encoder"
|
|
arch=('x86_64')
|
|
url="http://lame.sourceforge.net/"
|
|
depends=('ncurses')
|
|
makedepends=('nasm')
|
|
license=('LGPL')
|
|
options=('!libtool')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('84835b313d4a8b68f5349816d33e07ce')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-nasm \
|
|
--enable-shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|