blob: a14393a054d58af4a8b26910543137e6b1cc0897 (
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
31
32
33
|
# $Id: PKGBUILD 186297 2013-05-24 07:57:23Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Surain Mallawa Arachchi <mas@crc32.net>
pkgname=linux-atm
pkgver=2.5.2
pkgrel=3
pkgdesc="Drivers and tools to support ATM networking under Linux."
arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
url="http://linux-atm.sourceforge.net/"
license=(GPL)
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
man-pages.patch)
options=(!libtool !makeflags)
md5sums=('d49499368c3cf15f73a05d9bce8824a8'
'181390736336cdb615ae32f1ae5acfa6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../man-pages.patch
# install firmware in /usr/lib
sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|