Re: Use Stow to manage installation of librep and friends?



the various spec.in files in the source distributions should give some hints, e.g. in rep-gtk:

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make install \
    host_type=%{_target_platform} \
    installdir=$RPM_BUILD_ROOT%{_libexecdir}/rep/%{_target_platform}

Also, they should all respect DESTDIR to supply an extra prefix directory, e.g. "DESTDIR=/tmp/foo make install" will install under /tmp/foo

    John


On Feb 10, 2005, at 1:52 PM, Kai Großjohann wrote:

Has anyone here ever tried to use Stow to manage the installation of
librep and friends?

It seems kinda difficult to redirect the "make install" step to a
different directory.  The installation of rep-gtk wants to install
itself into the directory where librep is installed and so on.

The installation step of rep-gtk wants to append to a file from librep
or from gtk it seems.

Perhaps I'm trying to separate packages too much, and I need to
install librep, rep-gtk, and sawfish into the same physical location?

Instead of trying to reinvent the wheel, I thought I might ask if
someone has already done this.

tia,
Kai




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]