1{ stdenv, fetchurl, libjpeg, libmcrypt, zlib, libmhash, gettext, libtool}:
2
3stdenv.mkDerivation rec {
4 buildInputs = [ libjpeg libmcrypt zlib libmhash gettext libtool ];
5 version = "0.5.1";
6 name = "steghide-${version}";
7
8 src = fetchurl {
9 url = "mirror://sourceforge/steghide/steghide/${version}/steghide-${version}.tar.gz" ;
10 sha256 = "78069b7cfe9d1f5348ae43f918f06f91d783c2b3ff25af021e6a312cf541b47b";
11 };
12
13 patches = [
14 ./patches/steghide-0.5.1-gcc34.patch
15 ./patches/steghide-0.5.1-gcc4.patch
16 ./patches/steghide-0.5.1-gcc43.patch
17 ];
18
19 # AM_CXXFLAGS needed for automake
20 preConfigure = ''
21 export AM_CXXFLAGS="$CXXFLAGS -std=c++0x"
22 '';
23
24 meta = with stdenv.lib; {
25 homepage = http://steghide.sourceforge.net/;
26 description = "Steganography program that is able to hide data in various kinds of image- and audio-files";
27 license = licenses.gpl2;
28 platforms = platforms.linux;
29 };
30}