From: Jan Rękorajski Date: Mon, 15 Nov 2004 14:04:37 +0000 (+0000) Subject: - allow install in prefix other than /usr X-Git-Tag: auto/ac/ocaml-SDL-0_7_1-2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-SDL.git;a=commitdiff_plain;h=6684267e8ccb2a43987d29ced63ee740a875d121 - allow install in prefix other than /usr Changed files: ocaml-SDL.spec -> 1.3 --- diff --git a/ocaml-SDL.spec b/ocaml-SDL.spec index e8a8c68..72b0275 100644 --- a/ocaml-SDL.spec +++ b/ocaml-SDL.spec @@ -49,7 +49,10 @@ this library. rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + OCAMLLIBDIR=%{_libdir}/ocaml \ + OCAMLSDLDIR=%{_libdir}/ocaml/sdl \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT