Adding Links2

svn path=/nixpkgs/trunk/; revision=17949
This commit is contained in:
Michael Raskin
2009-10-24 15:39:54 +00:00
parent 742dcbc12e
commit bd7526951e
5 changed files with 64 additions and 3 deletions
@@ -0,0 +1,33 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
libpng libjpeg bzip2 zlib libtiff
directfb libX11 libXau xproto gpm
openssl libXt pkgconfig
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [
"--enable-graphics"
"--with-ssl"
"--with-x"
"--with-fb"
];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "A small browser with some graphics support";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linux;
};
}
@@ -0,0 +1,9 @@
rec {
version="2.2";
name="links2-2.2";
hash="188y37rw4s9brl55ncc12q1b45w0caxcnsq1gqyby9byw1sawnq9";
url="http://links.twibright.com/download/links-${version}.tar.gz";
advertisedUrl="http://links.twibright.com/download/links-2.2.tar.gz";
}
@@ -0,0 +1,4 @@
{
downloadPage = "http://links.twibright.com/download.php";
baseName = "links2";
}