2010-04-16 16:56:28 +01:00
|
|
|
args: with args;
|
2010-07-04 12:10:54 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wvdial-1.61";
|
2010-04-16 16:56:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-04 12:10:54 +01:00
|
|
|
url = "http://wvstreams.googlecode.com/files/${name}.tar.gz";
|
2010-04-16 16:56:28 +01:00
|
|
|
sha256 = "0mzcrv8mc60gbdrixc9k8ammbslvjb9x2cs50yf1jq67aabapzsg";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [wvstreams pkgconfig];
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
description = "dialer automatically recognizing the modem";
|
|
|
|
homepage = http://alumnit.ca/wiki/index.php?page=WvDial;
|
|
|
|
license = "LGPL";
|
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|