summaryrefslogtreecommitdiff
path: root/testing/linux-atm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/linux-atm/PKGBUILD')
-rw-r--r--testing/linux-atm/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/linux-atm/PKGBUILD b/testing/linux-atm/PKGBUILD
new file mode 100644
index 000000000..14e98013c
--- /dev/null
+++ b/testing/linux-atm/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 157771 2012-04-29 09:40:54Z allan $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Surain Mallawa Arachchi <mas@crc32.net>
+
+pkgname=linux-atm
+pkgver=2.5.2
+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}.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 --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}