blob: 50bdaa1c4c0813b6bb17e830c0ca8f0c10038e29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{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";
};
configureFlags = [ "--enable-shared" ]; # shared libs required by hyenae
buildInputs = [ automake autoconf libtool ];
# .so endings are missing (quick and dirty fix)
postInstall = ''
for i in $out/lib/*; do
ln -s $i $i.so
done
'';
meta = {
description = "libdnet provides a simplified, portable interface to several low-level networking routines";
homepage = http://code.google.com/p/libdnet/;
license = "BSD"; # New BSD license
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}
|