2012-01-20 17:29:17 -08:00
|
|
|
{stdenv, fetchurl, automake}:
|
2004-03-09 02:45:01 -08:00
|
|
|
|
2012-01-20 17:29:17 -08:00
|
|
|
stdenv.mkDerivation (rec {
|
2008-10-12 12:15:29 -07:00
|
|
|
name = "pkg-config-0.23";
|
2008-03-06 08:22:24 -08:00
|
|
|
|
2004-03-09 02:45:01 -08:00
|
|
|
setupHook = ./setup-hook.sh;
|
2008-03-06 08:22:24 -08:00
|
|
|
|
2003-11-06 07:24:19 -08:00
|
|
|
src = fetchurl {
|
2008-10-12 12:15:29 -07:00
|
|
|
url = "http://pkgconfig.freedesktop.org/releases/${name}.tar.gz";
|
|
|
|
sha256 = "0lrvk17724mc2nzpaa0vwybarrl50r7qdnr4h6jijm50srrf1808";
|
2003-11-06 07:24:19 -08:00
|
|
|
};
|
2007-12-01 12:29:42 -08:00
|
|
|
|
2008-10-13 05:51:04 -07:00
|
|
|
patches = [
|
|
|
|
# Process Requires.private properly, see
|
|
|
|
# http://bugs.freedesktop.org/show_bug.cgi?id=4738.
|
|
|
|
./requires-private.patch
|
|
|
|
];
|
|
|
|
|
2008-03-06 08:22:24 -08:00
|
|
|
meta = {
|
|
|
|
description = "A tool that allows packages to find out information about other packages";
|
|
|
|
homepage = http://pkg-config.freedesktop.org/wiki/;
|
2008-03-07 07:40:07 -08:00
|
|
|
};
|
|
|
|
|
2012-01-20 17:29:17 -08:00
|
|
|
} // (if stdenv.system == "mips64el-linux" then
|
|
|
|
{
|
|
|
|
preConfigure = ''
|
|
|
|
cp -v ${automake}/share/automake*/config.{sub,guess} .
|
|
|
|
'';
|
|
|
|
} else {}))
|