ipkg suggestion

From: Oliver Kurth <oliver.kurth_at_innominate.de>
Date: Tue, 24 Jul 2001 16:16:19 +0200

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
Received on Tue Jul 24 2001 - 07:08:40 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT