lol

smpeg: fix smpeg-config

+8 -2
+8 -2
pkgs/development/libraries/smpeg/default.nix
··· 1 - { stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa }: 1 + { stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "smpeg-svn${version}"; ··· 12 12 13 13 enableParallelBuilding = true; 14 14 15 - buildInputs = [ SDL autoconf automake libtool gtk m4 pkgconfig mesa ]; 15 + buildInputs = [ SDL gtk mesa ]; 16 + 17 + nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ]; 16 18 17 19 preConfigure = '' 18 20 touch NEWS AUTHORS ChangeLog ··· 26 28 -e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \ 27 29 -e 's,"SDL_types.h",<SDL/SDL_types.h>,' \ 28 30 $out/include/smpeg/*.h 31 + 32 + wrapProgram $out/bin/smpeg-config \ 33 + --prefix PATH ":" "${pkgconfig}/bin" \ 34 + --prefix PKG_CONFIG_PATH ":" "${SDL}/lib/pkgconfig" 29 35 ''; 30 36 31 37 meta = {