about summary refs log tree commit diff
path: root/pkgs/development/libraries/ptlib
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2010-09-05 23:37:54 +0000
committerMichael Raskin <7c6f434c@mail.ru>2010-09-05 23:37:54 +0000
commit29db2ca0c9457131c8bf190c4a2ac4caae5d0433 (patch)
tree2960c1f537a4ff013c69114374c8d51560d2b938 /pkgs/development/libraries/ptlib
parent84795126263e303c3a5ccf488cc5c114b8fdd14e (diff)
Adding Ekiga
svn path=/nixpkgs/trunk/; revision=23653
Diffstat (limited to 'pkgs/development/libraries/ptlib')
-rw-r--r--pkgs/development/libraries/ptlib/default.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ptlib/default.nix b/pkgs/development/libraries/ptlib/default.nix
new file mode 100644
index 0000000000000..be1e6fdb4a586
--- /dev/null
+++ b/pkgs/development/libraries/ptlib/default.nix
@@ -0,0 +1,50 @@
+x@{builderDefsPackage
+  , autoconf, automake, libtool, doxygen, pkgconfig, bison, flex, unixODBC
+  , openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib
+  , ...}:
+builderDefsPackage
+(a :  
+let 
+  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
+    [];
+
+  buildInputs = map (n: builtins.getAttr n x)
+    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
+  sourceInfo = rec {
+    baseName="ptlib";
+    baseVersion="2.6";
+    patchlevel="7";
+    version="${baseVersion}.${patchlevel}";
+    name="${baseName}-${version}";
+    url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
+    hash="0zxrygl2ivbciqf97yd9n67ch9vd9gp236w96i6ia8fxzqjq5lkx";
+  };
+in
+rec {
+  src = a.fetchurl {
+    url = sourceInfo.url;
+    sha256 = sourceInfo.hash;
+  };
+
+  inherit (sourceInfo) name version;
+  inherit buildInputs;
+
+  /* doConfigure should be removed if not needed */
+  phaseNames = ["doConfigure" "doMakeInstall"];
+      
+  meta = {
+    description = "Portable Tools from OPAL VoIP";
+    maintainers = with a.lib.maintainers;
+    [
+      raskin
+    ];
+    platforms = with a.lib.platforms;
+      linux;
+  };
+  passthru = {
+    updateInfo = {
+      downloadPage = "http://ftp.gnome.org/sources/ptlib/";
+    };
+  };
+}) x
+