# $Id: PKGBUILD 13520 2008-09-27 14:40:44Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Surain Mallawa Arachchi <mas@crc32.net>

pkgname=linux-atm
pkgver=2.5.0
pkgrel=1
pkgdesc="Drivers and tools to support ATM networking under Linux."
arch=('i686' 'x86_64')
depends=('glibc')
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
	linux-atm-2.5.0-glibc28.patch) 
url="http://linux-atm.sourceforge.net/"
license=(GPL)
options=(!libtool)
md5sums=('0b45a0e801fac7093ce4b0cadf419965'
         '2e195df66995d2feb9ccc602cbf399b2')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -Np1 -i ../linux-atm-2.5.0-glibc28.patch || return 1
  ./configure --prefix=/usr --sysconfdir=/etc || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install
}