2015-07-16 02:48:41 +01:00
|
|
|
{ stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
|
2011-04-17 18:55:29 +01:00
|
|
|
|
2015-07-16 02:48:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.99.5";
|
|
|
|
baseName = "ggz-base-libs";
|
|
|
|
name = "${baseName}-snapshot-${version}";
|
2011-04-17 18:55:29 +01:00
|
|
|
|
2015-07-16 02:48:41 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/${name}.tar.gz";
|
|
|
|
sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
|
|
|
|
};
|
2011-04-17 18:55:29 +01:00
|
|
|
|
2015-07-16 02:48:41 +01:00
|
|
|
buildInputs = [ intltool openssl expat libgcrypt ];
|
2011-04-17 18:55:29 +01:00
|
|
|
|
2016-09-02 11:11:22 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace "/usr/local/ssl/include" "${openssl.dev}/include" \
|
|
|
|
--replace "/usr/local/ssl/lib" "${openssl.out}/lib"
|
|
|
|
'';
|
|
|
|
|
2011-04-17 18:55:29 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-tls"
|
|
|
|
];
|
2015-07-16 02:48:41 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2011-04-17 18:55:29 +01:00
|
|
|
description = "GGZ Gaming zone libraries";
|
2015-07-16 02:48:41 +01:00
|
|
|
maintainers = with maintainers;
|
2011-04-17 18:55:29 +01:00
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
2015-07-16 02:48:41 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
downloadPage = "http://www.ggzgamingzone.org/releases/";
|
2011-04-17 18:55:29 +01:00
|
|
|
};
|
2015-07-16 02:48:41 +01:00
|
|
|
}
|