On Thu, Nov 20, 2003 at 06:44:38PM +0200, Micha Feigin wrote:
> I want to package a program I compiled in a .deb to enable uninstalling
> it cleanly later.
> It seems that alien can convert slackware tgz packages to debs (I tried
> the other way around and it doesn't seem like there is any extra data
> except for the program) and I thought that this could be used to do
> that (I am just looking for unistall ability and to know whats
> installed, nothing else).
> To create this I need to install into some local directory instead of
> root so that I can create the tar file.
> Any idea how to do that (maybe chroot could do that but then I loose
> access to the local executables).
> 
> 

Thank you for the answears, I will check them out to look for a better
method since being able to build a proper debian package can be usefull
(actually did some dirty hacks to achive that before but it was for
changing official ones).
Just in case this will be usefull to someone, I found out a method that
worked for the program I was compiling (bidi emacs).
running
make install prefix=<subdir>
installed the program into <subdir> while maintaining the directory tree
and the compiled in absolute locations.
I then changed into subder did a tar -xzf <package>.tgz . and alien <package>.tgz
which produced a .deb package.
I know its not the correct way, but when there are no dependencies its a
quick and dirty way to achive what I wanted.

> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to