delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/27/18:34:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 26 Feb 2010 14:07:46 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: question about cygwin package
Message-ID: <20100226190746.GA31209@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <37e8e8a340e04c3a4aaeb2e13b9d5818 AT mail DOT smartmobili DOT com>
MIME-Version: 1.0
In-Reply-To: <37e8e8a340e04c3a4aaeb2e13b9d5818@mail.smartmobili.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Feb 26, 2010 at 08:05:16PM +0100, Vincent Richomme wrote:
>Hi,
>
>I am just curious to understand how package are installed on cygwin
>because from what I can see they are stored as .tar.bz2 archive.
>Let's say I have a package with one exe, so it will be packaged
>inside \usr\bin :
>
>usr
>  bin
>    someapp.exe
>
>however once installed it will end up inside CYGWINDIR/bin
>and not CYGWINDIR/usr/bin.
>I understand it comes from the fact that  /usr/bin is mapped 
>on CYGWINDIR/bin BUT what I don't understand is how do you move files
>inside package into their final destination.

cd /
tar xjf foo.tar.bz2

Where foo.tar.bz2 contains relative paths to where you want things
installed.

Inspect one of Cygwin's tar.bz2 packages for a real example.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019