3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/wvdial/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

28 lines
777 B
Nix

{ stdenv, fetchurl, wvstreams, pkgconfig }:
stdenv.mkDerivation rec {
name = "wvdial-1.61";
src = fetchurl {
url = "http://wvstreams.googlecode.com/files/${name}.tar.gz";
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 = "A dialer that automatically recognises the modem";
homepage = http://alumnit.ca/wiki/index.php?page=WvDial;
license = "LGPL";
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}