apr: don't manually move apr-1-config
Also refactor meta.
This commit is contained in:
parent
9d19ac7d0d
commit
1858a39c9a
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];
|
||||||
|
|
||||||
outputs = [ "dev" "out" ];
|
outputs = [ "dev" "out" ];
|
||||||
|
outputBin = "dev";
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
@ -24,17 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall =
|
meta = with stdenv.lib; {
|
||||||
''
|
|
||||||
mkdir $dev/bin $dev/lib
|
|
||||||
mv $out/bin/apr-1-config $dev/bin
|
|
||||||
mv $out/lib/pkgconfig $dev/lib
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://apr.apache.org/;
|
homepage = http://apr.apache.org/;
|
||||||
description = "The Apache Portable Runtime library";
|
description = "The Apache Portable Runtime library";
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user