ldns: also build examples
This commit is contained in:
parent
a889454869
commit
f5a7ce1317
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs doc/doxyparse.pl
|
patchShebangs doc/doxyparse.pl
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" "examples" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
@ -24,6 +24,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
moveToOutput "bin/ldns-config" "$dev"
|
moveToOutput "bin/ldns-config" "$dev"
|
||||||
|
|
||||||
|
pushd examples
|
||||||
|
configureFlagsArray+=( "--bindir=$examples/bin" )
|
||||||
|
configurePhase
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user