Subject: [ANNOUNCE] mkpkg 1.0 released
From: [email-masked] (Andrew Davison)
Date: Sun, 29 May 1994 17:29:46 GMT
Newsgroups: comp.os.linux.announce

The following are the README and lsm entry for mkpkg.

A. Davison

---------------------

                               mkpkg

                Package Tool Make Installation Utility

                		    Version 1.0

                		     May, 1994

                Copyright (C) 1994 Esonque Systems

                       Author: Andrew Davison

----------------------------------------------------------------------

INTRODUCTION

	mkpkg is a pair of scripts which will create a pkgtool style description
of any package which you might normally install using a "make install" 
command. Hence your "package" can be removed using the pkgtool program
provided with the SlackWare Linux distribution.

INSTALLATION

	Just put the mkpkg and pkginstall scripts somewhere in your path.

USAGE

	Before you begin, you'll have to change the toplevel Makefile of the
package you're installing. Most Makefiles will have a line like...

	INSTALL = install -c

	You will need to change this to

	INSTALL = pkginstall install -c

	Note that if you need to change the install program which is to be used, 
just change the arguments to pkginstall.

	Now, instead of typing "make install", run mkpkg. You'll be asked
for a name for the package, then a short description. After entering these
the mkpkg script invokes the install target at the current directory level.

WHAT DOES IT DO  ?

	mkpkg just creates a package description file with a standard header
which names and describes the package. 

	pkginstall appends the name of any file "installed" to that description.
The destination is assumed to be the last parameter to the "install" 
program. If this is a directory, it appends the second last parameter (assumed
to be the source filename) to the destination name. 

	Lastly is moves the new package description into /var/adm/packages. If a
package already exists of the desired name, the old package description will
be backed up as "<package_bame>.bak"

COMMENTS/SUGGESTIONS

	Send comments of suggestions to the author at

		[email-masked]

- A. Davison
- May, 1994

	
-------------

Begin2
Title        =  mkpkg - "Make install" Utility for pkgtool
Version      =  1.0
Desc1        =  A set of scripts which generate a pkgtool package description
Desc2        =  file from the execution of a "make install" command.
Desc3        =
Desc4        =
Desc5        =
Author       = Andrew J. Davison
AuthorEmail  = [email-masked]
Maintainer   = Andrew J. Davison
MaintEmail   = [email-masked]
Site1        = pippin.cs.monash.edu.au
Path1        = /pub/export
File1        = mkpkg-1.0.tar.gz
FileSize1    = 2 K
Site2        =
Path2        =
File2        =
FileSize2    =
Site3        =
Path3        =
File3        =
FileSize3    =
Site4        =
Path4        =
File4        =
FileSize4    =
Required1    =
Required2    =
Required3    =
Required4    =
CopyPolicy1  = Freely distributable (provided that the copyright notice
CopyPolicy2  = remains intact in all re-distributions/derivatives).
Keywords     = pkgtool make
Comment1     =
Comment2     =
Comment3     =
Comment4     =
RelFiles1    =
RelFiles2    =
RelFiles3    =
Entered      = 30MAY94
EnteredBy    = Andrew J. Davison
CheckedEmail = [email-masked]
End

--
Mail submissions for comp.os.linux.announce to: [email-masked]
Be sure to include Keywords: and a short description of your software.