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).
Feel free to commit new scripts to CVS.
Also, please add documentation to the Wiki.
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
>
Received on Tue Jul 24 2001 - 08:08:38 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT