From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,4acd6e64cfa17eab,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-05-29 16:18:09 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!hookup!news.kei.com!ub!galileo.cc.rochester.edu!rochester!cornell!bounce-bounce From: davison@bruce.cs.monash.edu.au (Andrew Davison) Subject: [ANNOUNCE] mkpkg 1.0 released Message-ID: Followup-To: comp.os.linux.misc Keywords: mkpkg, make, pkgtool, installation, package Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: davison@bruce.cs.monash.edu.au (Andrew Davison) Organization: Computer Science, Monash University, Australia Date: Sun, 29 May 1994 17:29:46 GMT 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 ".bak" COMMENTS/SUGGESTIONS Send comments of suggestions to the author at davison@cs.monash.edu.au - 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 = davison@cs.monash.edu.au Maintainer = Andrew J. Davison MaintEmail = davison@cs.monash.edu.au 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 = davison@cs.monash.edu.au End -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu Be sure to include Keywords: and a short description of your software.