Generic build script instructions
GARY VANSICKLE
g.r.vansickle@worldnet.att.net
Thu Jun 17 05:28:00 GMT 2004
> So, to answer that question, why not something like this:
>
> # --- BEGIN_DEFS ---
> if [ -f ${FULLPKG}.defs ]; then
> . ${FULLPKG}.defs
> fi
> # --- END_DEFS ---
>
> So, if my source package name is foo.tar.Z, then I can put the
[snip]
> following in my defs file:
>
> # Maintainer defs file for package foo
> src_orig_pkg_name=foo.tar.Z
> opt_decomp=z
>
> This would allow a package maintainer to put specializatons/
> definitions within a defs file for each package, making for
> easier maintentance (except in cases of siginificantly unusual
> packages).
>
That's the first thing that came to my mind when I switched over to using
gbs for packaging mutt. I'd put an else clause in though and croak if
there's no defs file.
--
Gary R. Van Sickle
More information about the Cygwin-apps
mailing list