2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, wvstreams, pkgconfig }:
|
|
|
|
|
2010-07-04 11:10:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wvdial-1.61";
|
2010-04-16 15:56:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-04 11:10:54 +00:00
|
|
|
url = "http://wvstreams.googlecode.com/files/${name}.tar.gz";
|
2010-04-16 15:56:28 +00:00
|
|
|
sha256 = "0mzcrv8mc60gbdrixc9k8ammbslvjb9x2cs50yf1jq67aabapzsg";
|
|
|
|
};
|
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
buildInputs = [ wvstreams pkgconfig ];
|
2010-04-16 15:56:28 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
|
|
|
export makeFlags="prefix=$out"
|
|
|
|
# not sure about this line
|
|
|
|
sed -i 's@/etc/ppp/peers@$out/etc/ppp/peers@' Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "A dialer that automatically recognises the modem";
|
2010-04-16 15:56:28 +00:00
|
|
|
homepage = http://alumnit.ca/wiki/index.php?page=WvDial;
|
|
|
|
license = "LGPL";
|
2010-07-28 11:55:54 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2010-04-16 15:56:28 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|