Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/utils In directory vz-cvs-3.sog:/tmp/cvs-serv22391/utils
Added Files: eject.info eject.patch Log Message: Wrote version 2.0 for 10.7 --- NEW FILE: eject.patch --- diff -ruN eject-orig/README eject/README --- eject-orig/README 1970-01-01 01:00:00.000000000 +0100 +++ eject/README 2011-07-23 22:52:04.000000000 +0200 @@ -0,0 +1,6 @@ +eject is a trivial script to emulate part of the functionality of +Jeff Tranter's eject for Linux. Call it as: + +eject /dev/disk2 +eject # Ejects default CD-ROM +eject /dev/cdrom # Ejects default CD-ROM diff -ruN eject-orig/eject eject/eject --- eject-orig/eject 1970-01-01 01:00:00.000000000 +0100 +++ eject/eject 2011-07-23 22:53:18.000000000 +0200 @@ -0,0 +1,9 @@ +#!/usr/bin/perl + +$device = $ARGV[0] || "/dev/cdrom"; + +if ($device =~ /cdrom/) { + exec "/usr/bin/drutil eject"; +} else { + exec "/usr/bin/hdiutil eject $device"; +} --- NEW FILE: eject.info --- Package: eject Version: 2.0 Revision: 1 Type: nosource License: Public Domain Maintainer: Matthias Neeracher <neerac...@mac.com> NoSourceDirectory: true BuildDepends: fink (>= 0.24.12-1) PatchFile: %n.patch PatchFile-MD5: fa9a7883ac6095b2eebdaf34c6e67479 Description: Ejects removable media CompileScript:<< << InstallScript:<< mkdir -p %i/bin /usr/bin/install eject %i/bin << DocFiles: README ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs