[racket] copy-shared-files and different platforms

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Aug 25 10:11:56 EDT 2014

At Mon, 25 Aug 2014 16:06:15 +0200, Jens Axel Søgaard wrote:
> 2014-08-23 20:12 GMT+02:00 Matthew Flatt <mflatt at cs.utah.edu>:
> 
> > The `install-platform` definitions in those "info.rkt" files mean that
> > only libraries for the current platform will be installed. It's
> > probably better for each directory within "poppler-libs" to be its own
> > package, so that an installation gets only the libraries for the
> > installation's platform, but the current way should work.
> 
> Got it. Each platform gets its own package.
> 
> This leads to the question: How can I have multiple packages in the
> same GitHub repository?
>
> This package is for i386-macosx:
>     http://pkgs.racket-lang.org/#[poppler-i386-macosx]
> 
> At Github the package is at:
>    https://github.com/soegaard/poppler-libs/tree/master/poppler-i386-macosx
> 
> So I entered:
>     Source:  
> github://github.com/soegaard/poppler-libs/tree/master/poppler-i386-macosx

To specify a path within a repo, use a "path=..." query with the "git:"
package-source format:

  git://github.com/soegaard/poppler-libs?path=poppler-i386-macosx



Posted on the users mailing list.