summaryrefslogtreecommitdiff
path: root/community/wvdial/PKGBUILD
blob: 8edab9e52d5c0039e3ee1f373c2205dbc89060d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 49019 2011-06-09 20:53:15Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=wvdial
pkgver=1.61
pkgrel=3
pkgdesc="A dialer program to connect to the Internet"
url="http://alumnit.ca/wiki/index.php?page=WvDial"
arch=('i686' 'x86_64')
license=('custom')
depends=('wvstreams' 'ppp' 'gcc-libs')
makedepends=('lockdev')
options=('!makeflags' '!buildflags')
source=("http://wvstreams.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('acd3b2050c9b65fff2aecda6576ee7bc')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure
  make LOCKDEV="-llockdev"
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make prefix="${pkgdir}"/usr PPPDIR="${pkgdir}"/etc/ppp/peers install

  install -Dm644 COPYING.LIB "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}