On Sat, 2009-04-11 at 15:07 +0800, Sebastian Nowicki wrote:

> At this point it seems I would have to replicate some of the ./ 
> setup.sh script (copying files) in the PKGBUILD. 

The Gentoo ebuilds don't use the script at all, and just use
gnustep-make's facilities for building and installing.  The major step
is to set the environment such that files are installed into the
temporary target directory; then, the package manager merges them into
the filesystem and records their paths for query or uninstall at a later
date.

Here is a link to the eclass that implements this:

http://mirrors.usc.edu/pub/linux/distributions/gentoo/eclass/gnustep-base.eclass

Look especially at 'egnustep_env'.  Here is a link to the daughter
eclass:

http://mirrors.usc.edu/pub/linux/distributions/gentoo/eclass/gnustep-2.eclass

The Etoile ebuilds using this daughter eclass (and thereby the base
eclass) are here:

http://overlays.gentoo.org/proj/gnustep/browser/overlay

Note how these builds basically do nothing.

I am not familiar with Arch's PKGBUILD system, but I hope this helps ...


Best,

Sourav



_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@gna.org
https://mail.gna.org/listinfo/etoile-discuss

Répondre à