Add gammu version 1.33.0 - a library and command line utility for interfacing phones

This commit is contained in:
Jonas Hoersch 2013-12-27 22:33:52 +01:00
parent 5e668f601f
commit 4418c1e1d7
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -Naur gammu-1.33.0.orig/contrib/CMakeLists.txt gammu-1.33.0/contrib/CMakeLists.txt
--- gammu-1.33.0.orig/contrib/CMakeLists.txt 2013-12-26 20:56:22.887772110 +0100
+++ gammu-1.33.0/contrib/CMakeLists.txt 2013-12-26 20:57:04.386276037 +0100
@@ -85,7 +85,7 @@
if (INSTALL_BASH_COMPLETION)
install (
FILES bash-completion/gammu
- DESTINATION "/etc/bash_completion.d"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/bash_completion.d"
COMPONENT "bash"
)
endif (INSTALL_BASH_COMPLETION)

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl
, libiconv, gettext, sqlite }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "gammu-${version}";
version = "1.33.0";
src = fetchurl {
url = "http://sourceforge.net/projects/gammu/files/gammu/${version}/gammu-${version}.tar.xz";
sha256 = "18gplx1v9d70k1q86d5i4n4dfpx367g34pj3zscppx126vwhv112";
};
patches = [ ./bashcomp-dir.patch ];
buildInputs = [ python pkgconfig cmake bluez libusb1 curl libiconv
gettext sqlite ];
enableParallelBuilding = true;
meta = {
homepage = "http://wammu.eu/gammu/";
description = "Command line utility and library to control mobil phones";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.coroa ];
};
}

View file

@ -10151,6 +10151,8 @@ let
gajim = callPackage ../applications/networking/instant-messengers/gajim { };
gammu = callPackage ../applications/misc/gammu { };
gensgs = callPackage_i686 ../misc/emulators/gens-gs { };
ghostscript = callPackage ../misc/ghostscript {