adding wvdial, wvstreams, usb_modeswitch

svn path=/nixpkgs/trunk/; revision=21131
This commit is contained in:
Marc Weber 2010-04-16 15:56:28 +00:00
parent 3874ba79bd
commit 6ce15d655f
4 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,23 @@
args: with args;
stdenv.mkDerivation {
name = "wvstreams-4.6.1";
src = fetchurl {
url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
};
preConfigure = ''
find -type f | xargs sed -i 's@/bin/bash@bash@g'
'';
buildInputs = [qt4 dbus zlib openssl readline perl];
meta = {
description = "network programming library in C++";
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
license = "LGPL";
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -0,0 +1,32 @@
args: with args;
stdenv.mkDerivation {
name = "usb-modeswitch-1.1.1";
src = /tmp/marc/usb-modeswitch-1.1.1.tar.bz2;
/*
fetchurl {
url =
sha256 = "0f7da588yvb1d3l3gk5m0hrqlhg8m4gw93aip3dwkmnawz9r0qca";
};
*/
# make clean: we always build from source. It should be necessary on x86_64 only
preConfigure = ''
find -type f | xargs sed 's@/bin/rm@rm@g' -i
make clean
ensureDir $out/{etc,lib/udev,share/man/man1}
makeFlags="DESTDIR=$out PREFIX=$out"
'';
buildInputs = [libusb];
meta = {
description = "...";
homepage = "TODO";
license = "GPLv2";
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -0,0 +1,26 @@
args: with args;
stdenv.mkDerivation {
name = "wvdial-1.16";
src = fetchurl {
url = http://wvstreams.googlecode.com/files/wvdial-1.61.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 = "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;
};
}

View File

@ -524,6 +524,10 @@ let
inherit fetchurl stdenv;
};
usb_modeswitch = import ../development/tools/misc/usb-modeswitch {
inherit stdenv fetchurl libusb;
};
cloogppl = import ../development/libraries/cloog-ppl {
inherit fetchurl stdenv ppl;
};
@ -5067,6 +5071,10 @@ let
inherit (xlibs) libXt;
};
wvstreams = import ../development/libraries/wvstreams {
inherit stdenv fetchurl qt4 dbus zlib openssl readline perl;
};
wxGTK = wxGTK28;
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
@ -7249,6 +7257,10 @@ let
inherit fetchurl stdenv perl pkgconfig libpcap flex bison;
inherit (gtkLibs) gtk;
};
wvdial = import ../os-specific/linux/wvdial {
inherit stdenv fetchurl wvstreams pkgconfig;
};
fbida = builderDefsPackage ../applications/graphics/fbida {
inherit libjpeg libexif giflib libtiff libpng