summary refs log tree commit diff
path: root/pkgs/development/libraries/libtorrent-rasterbar
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-11-13 07:47:04 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-11-13 07:47:04 +0000
commit5029db216055b351dc8107eaf0178bb540b22549 (patch)
tree77cbeafbafed4debc747d27dc53b213b397f1f32 /pkgs/development/libraries/libtorrent-rasterbar
parent4018b1dd39f66b36d14cd3644c95bd90899e5454 (diff)
downloadnixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar.gz
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar.bz2
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar.lz
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar.xz
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.tar.zst
nixpkgs-5029db216055b351dc8107eaf0178bb540b22549.zip
Spring RTS: packaged along with its deps and utils: libDevIL, libtorrent-rasterbar, spring-lobby.
svn path=/nixpkgs/trunk/; revision=24681
Diffstat (limited to 'pkgs/development/libraries/libtorrent-rasterbar')
-rw-r--r--pkgs/development/libraries/libtorrent-rasterbar/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix
new file mode 100644
index 00000000000..23cbaa2f97b
--- /dev/null
+++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "libtorrent-rasterbar-${version}";
+  version = "0.15.4";
+  
+  src = fetchurl {
+    url = "http://libtorrent.googlecode.com/files/${name}.tar.gz";
+    sha256 = "1pjdn0as4h71bhm0fbjqsh1y10fbifn2hfrkhkgdsdqhz7vdbfwy";
+  };
+
+  buildInputs = [ boost pkgconfig openssl zlib ];
+
+  configureFlags = [ "--with-boost=${boost}/include/boost" "--with-boost-libdir=${boost}/lib" ];
+  
+  meta = with stdenv.lib; {
+    homepage = http://www.rasterbar.com/products/libtorrent/;
+    description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
+    license = licenses.bsd;
+    maintainers = [ maintainers.phreedom ];
+  };
+}