forked from mirrors/nixpkgs
xxkb: Split into multiple outputs
I'm also adding myself as a maintainer as I'm the original author of the derivation.
This commit is contained in:
parent
cc41cb30e3
commit
84003b70b6
|
@ -18,12 +18,14 @@ stdenv.mkDerivation rec {
|
||||||
libX11 libXt libXext libXpm
|
libX11 libXt libXext libXpm
|
||||||
] ++ stdenv.lib.optional svgSupport [ librsvg glib gdk_pixbuf pkgconfig ];
|
] ++ stdenv.lib.optional svgSupport [ librsvg glib gdk_pixbuf pkgconfig ];
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
xmkmf ${stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"}
|
xmkmf ${stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$out/man )
|
makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$man/share/man )
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installTargets = "install install.man";
|
installTargets = "install install.man";
|
||||||
|
@ -32,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "A keyboard layout indicator and switcher";
|
description = "A keyboard layout indicator and switcher";
|
||||||
homepage = "http://xxkb.sourceforge.net/";
|
homepage = "http://xxkb.sourceforge.net/";
|
||||||
license = stdenv.lib.licenses.artistic2;
|
license = stdenv.lib.licenses.artistic2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ rasendubi ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue