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
|
||||
] ++ stdenv.lib.optional svgSupport [ librsvg glib gdk_pixbuf pkgconfig ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
configurePhase = ''
|
||||
xmkmf ${stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"}
|
||||
'';
|
||||
|
||||
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";
|
||||
|
@ -32,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
description = "A keyboard layout indicator and switcher";
|
||||
homepage = "http://xxkb.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.artistic2;
|
||||
maintainers = with stdenv.lib.maintainers; [ rasendubi ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue