FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep
2015-11-28 01:46:00 +01:00
|
|
|
{ fetchsvn, stdenv, gnum4, tet }:
|
2015-11-26 18:33:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
version = "3258";
|
|
|
|
name = "libelf-freebsd-${version}";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep
2015-11-28 01:46:00 +01:00
|
|
|
url = svn://svn.code.sf.net/p/elftoolchain/code/trunk;
|
|
|
|
rev = (stdenv.lib.strings.toInt version);
|
2015-11-28 16:06:15 +01:00
|
|
|
name = "elftoolchain-${version}";
|
2015-11-26 18:33:58 +01:00
|
|
|
};
|
|
|
|
|
FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep
2015-11-28 01:46:00 +01:00
|
|
|
buildInputs = [ gnum4 tet ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$PATH # use BSD install(1) instead of coreutils and make(1) instead of GNU Make
|
|
|
|
cp -vr ${tet} test/tet/tet3.8
|
|
|
|
chmod -R a+w test/tet/tet3.8
|
|
|
|
make libelf
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cp -vr libelf $out
|
|
|
|
cp -vr common/. $out/
|
|
|
|
'';
|
|
|
|
|
2015-11-26 18:33:58 +01:00
|
|
|
meta = {
|
|
|
|
description = "Essential compilation tools and libraries for building and analyzing ELF based program images";
|
|
|
|
|
|
|
|
homepage = https://sourceforge.net/p/elftoolchain/wiki/Home/;
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.freebsd;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
})
|