Carl Worth wrote:
>
> Oliver,
>
> Fine ideas.
>
> One slight change: how about using a directory named CONTROL rather
> than ipkg. (Rationale: Debian uses a directory named DEBIAN so the
> closest parallel would be FAMILIAR or some such, but I would prefer
> the packaging system to be more distribution-agnostic than that).
DEBIAN/ is not used for years, must have been before I converted to
Debian, it is now debian/. I think CONTROL is to generic, and some
author might decide to use that name for something else. And I dont like
file/directory names with capital letters, but that's just personal
taste.
I would prefer 'ipkg' or 'familiar'.
Anyway, it is just a detail, and easy to change.
Thanks for feedback, I will start with it now.
Greetings,
Oliver
> Feel free to commit new scripts to CVS.
>
> Also, please add documentation to the Wiki.
Yes, as soon as I learned to use it..
> Thanks for your offer to help!
>
> -Carl
>
> Oliver Kurth writes:
> > Hello again...
> >
> > I have a suggestion to make building ipkg packages easier.
> >
> > Concept:
> > - in the source distribution, create a directory 'ipkg'
> > - put all files which go to the 'CONTROL' directory of the root of the
> > installed package into ipkg.
> > - additionally, put a file there called 'rules' which is a Makefile
> > containing at least the targets 'build', 'install' and 'clean'
> > * the build target does things like ./configure and make
> > * the install target installs to a temporary directory (make
> > DESTDIR=/tmp/packsage) and removes unnecessary items (eg. man pages)
> > * clean cleans ;-)
> >
> > - a script called 'ipkg-buildpackage' builds the package, installs it to
> > the tmp directory, copies the contents of ipkg/ to the tmp
> > directory/CONTROL and calls ipkg-build. After this, it makes a diff of
> > the source directory against the original source tarball.
> >
> > Okay, now the builder of the package uploads the diff, the original
> > tarball and the ipkg package to some ftp server for everyones pleasure,
> > eh, download. This way, everyone can verify what the builder of the
> > package had to modify, learn from it or maybe use it to package a new
> > version if new upstream version comes out.
> >
> > This is of course not a new idea, it is nearly debian.
> >
> > Any comments? I would like to hear of your ideas, and volunteer to write
> > this ipkg-buildpackage script and put it to the ipkg CVS.
> >
> > Greetings,
> > Oliver
> > --
> > oliver.kurth_at_innominate.com
> > software engineer innominate AG
> >
> > tel: +49.30.308806-0 fax: -77 www.innominate.com
> >
> > _______________________________________________
> > Familiar mailing list
> > Familiar_at_handhelds.org
> > http://handhelds.org/mailman/listinfo/familiar
> > irc://irc.openprojects.net #familiar
> >
-- oliver.kurth_at_innominate.com software engineer innominate AG tel: +49.30.308806-0 fax: -77 www.innominate.comReceived on Tue Jul 24 2001 - 08:17:27 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT