core/linux-atm/PKGBUILD

30 lines
780 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
pkgname=linux-atm
2013-05-23 02:15:52 +08:00
pkgver=2.5.2
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="Drivers and tools to support ATM networking under Linux."
2013-05-23 02:15:52 +08:00
arch=('x86_64')
2010-03-13 23:25:19 +08:00
depends=('glibc')
url="http://linux-atm.sourceforge.net/"
license=(GPL)
2013-05-23 02:15:52 +08:00
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
man-pages.patch)
2010-05-16 23:08:55 +08:00
options=(!libtool !makeflags)
2013-05-23 02:15:52 +08:00
md5sums=('d49499368c3cf15f73a05d9bce8824a8'
'181390736336cdb615ae32f1ae5acfa6')
2010-03-13 23:25:19 +08:00
build() {
2013-05-23 02:15:52 +08:00
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
2010-03-13 23:25:19 +08:00
}
2010-05-16 23:08:55 +08:00
2013-05-23 02:15:52 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}