2011-09-24 11:14:21 +02:00
|
|
|
{stdenv, fetchurl, automake, autoconf, libtool}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libdnet-1.12";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://libdnet.googlecode.com/files/libdnet-1.12.tgz;
|
|
|
|
sha1 = "71302be302e84fc19b559e811951b5d600d976f8";
|
|
|
|
};
|
|
|
|
|
2015-10-06 15:24:20 +02:00
|
|
|
buildInputs = [ automake autoconf libtool ];
|
2015-10-02 09:11:04 +02:00
|
|
|
|
2015-11-14 21:32:51 +01:00
|
|
|
CFLAGS="-fPIC";
|
|
|
|
|
2011-09-24 11:14:21 +02:00
|
|
|
# .so endings are missing (quick and dirty fix)
|
|
|
|
postInstall = ''
|
|
|
|
for i in $out/lib/*; do
|
|
|
|
ln -s $i $i.so
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Provides a simplified, portable interface to several low-level networking routines";
|
2011-09-24 11:14:21 +02:00
|
|
|
homepage = http://code.google.com/p/libdnet/;
|
2014-12-21 00:00:35 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2011-09-24 11:14:21 +02:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|