summaryrefslogtreecommitdiff
path: root/extra/speedtouch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/speedtouch/PKGBUILD')
-rw-r--r--extra/speedtouch/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/speedtouch/PKGBUILD b/extra/speedtouch/PKGBUILD
new file mode 100644
index 000000000..1c31c20bf
--- /dev/null
+++ b/extra/speedtouch/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 77988 2010-04-19 08:04:32Z dgriffiths $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Contributor: Aurelien Foret <orelien@chez.com>
+
+pkgname=speedtouch
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="Driver for the ADSL Speed Touch USB modem"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://speedtouch.sourceforge.net/"
+license=('GPL')
+depends=('bash')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ speedtouch-1.3.1-gcc4.patch)
+md5sums=('0848a120ae0eeab6c8ab378e11dc4fa2'
+ '4191035925db745944c75e26937c42a3')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 < ../speedtouch-1.3.1-gcc4.patch || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1
+ make || return 1
+ make prefix=${pkgdir}/usr sysconfdir=${pkgdir}/etc mandir=${pkgdir}/usr/share/man install || return 1
+}