1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Contributor: Surain Mallawa Arachchi <mas@crc32.net>
7 pkgdesc="Drivers and tools to support ATM networking under Linux."
10 optdepends=('flex: for atmsigd')
11 url="http://linux-atm.sourceforge.net/"
13 source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
14 linux-atm-man-pages.patch
15 linux-atm-remove-define-hacks.patch
16 linux-atm-linux-5.2-SIOCGSTAMP.patch
17 linux-atm-string-formatting.patch)
19 md5sums=('d49499368c3cf15f73a05d9bce8824a8'
20 '181390736336cdb615ae32f1ae5acfa6'
21 '74275ad95cef3898ef3ec52c21012e45'
22 'a5a44b282461e6530ad8db0f032bf3d5'
23 'b08a6e98ffac0f2870be7f3a60948c5f')
26 cd "${pkgname}-${pkgver}"
27 patch -Np1 -i ../linux-atm-man-pages.patch
28 patch -Np1 -i ../linux-atm-remove-define-hacks.patch
29 patch -Np1 -i ../linux-atm-linux-5.2-SIOCGSTAMP.patch
30 patch -Np1 -i ../linux-atm-string-formatting.patch
32 # install firmware in /usr/lib
33 sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
43 cd "${srcdir}/${pkgname}-${pkgver}"
44 make DESTDIR="${pkgdir}" install