summaryrefslogtreecommitdiffstats
path: root/abs/core/lame/PKGBUILD
blob: 6853b7492b5d5f93e2e5680f394b93560e8e4a04 (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
# $Id: PKGBUILD 80636 2010-05-20 16:06:46Z ibiru $
# Maintainer:  Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>

pkgname=lame
pkgver=3.98.4
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=('8e9866ad6b570c6c95c8cba48060473f')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --enable-nasm \
              --enable-shared
  make -j1 || return 1
  make DESTDIR="${pkgdir}" install || return 1
}