summaryrefslogtreecommitdiffstats
path: root/abs/core/linux-atm/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:12:27 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:12:27 (GMT)
commita6e78d13dc69266f844eb8a6d7238d5c6470a228 (patch)
tree79997984cd94506b0a2474757aec79914eda3597 /abs/core/linux-atm/PKGBUILD
parentd0f4b0d1df9054aeb978f7d27e07b93d8847bf79 (diff)
downloadlinhes_pkgbuild-a6e78d13dc69266f844eb8a6d7238d5c6470a228.zip
linhes_pkgbuild-a6e78d13dc69266f844eb8a6d7238d5c6470a228.tar.gz
linhes_pkgbuild-a6e78d13dc69266f844eb8a6d7238d5c6470a228.tar.bz2
linux-atm 2.5.2
Diffstat (limited to 'abs/core/linux-atm/PKGBUILD')
-rw-r--r--abs/core/linux-atm/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/abs/core/linux-atm/PKGBUILD b/abs/core/linux-atm/PKGBUILD
index f2c5a24..5b6e62d 100644
--- a/abs/core/linux-atm/PKGBUILD
+++ b/abs/core/linux-atm/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 79085 2010-04-30 07:29:32Z tpowa $
+# $Id: PKGBUILD 158611 2012-05-05 03:12:24Z dreisner $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Surain Mallawa Arachchi <mas@crc32.net>
pkgname=linux-atm
-pkgver=2.5.1
-pkgrel=1
+pkgver=2.5.2
+pkgrel=2
pkgdesc="Drivers and tools to support ATM networking under Linux."
arch=('i686' 'x86_64')
depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
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=('9560b0e1f410a05b849dfdab465dd758')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
- make || return 1
+ 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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
-
+md5sums=('d49499368c3cf15f73a05d9bce8824a8'
+ '181390736336cdb615ae32f1ae5acfa6')