summaryrefslogtreecommitdiff
path: root/core/linux-atm/PKGBUILD
blob: 2a7f7c7e01abe62ccdf346e12bde0a306a69ec8e (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
27
28
29
30
# $Id: PKGBUILD 107943 2011-01-28 01:46:01Z stephane $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Surain Mallawa Arachchi <mas@crc32.net>

pkgname=linux-atm
pkgver=2.5.1
pkgrel=2
pkgdesc="Drivers and tools to support ATM networking under Linux."
arch=('i686' 'x86_64')
depends=('glibc')
url="http://linux-atm.sourceforge.net/"
license=(GPL)
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tgz
        man-pages.patch)
md5sums=('9560b0e1f410a05b849dfdab465dd758'
         '181390736336cdb615ae32f1ae5acfa6')
options=(!libtool !makeflags)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i ../man-pages.patch
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}