[Abtlinux-svn] SF.net SVN: abtlinux: [227] src/trunk/packages
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2006-11-22 19:17:07
|
Revision: 227 http://svn.sourceforge.net/abtlinux/?rev=227&view=rev Author: eschabell Date: 2006-11-22 11:17:05 -0800 (Wed, 22 Nov 2006) Log Message: ----------- Time was clashing (need to sort out module stuff to get my namespace reserved), wonder if that can be solved? Moved this test spell over to ipc. Added Paths: ----------- src/trunk/packages/ipc.rb Removed Paths: ------------- src/trunk/packages/time.rb Copied: src/trunk/packages/ipc.rb (from rev 226, src/trunk/packages/time.rb) =================================================================== --- src/trunk/packages/ipc.rb (rev 0) +++ src/trunk/packages/ipc.rb 2006-11-22 19:17:05 UTC (rev 227) @@ -0,0 +1,79 @@ +#!/usr/bin/ruby -w + +require "AbtPackage" + +## +# ipc.rb +# +# AbtFortune package. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class Ipc < AbtPackage + +protected + +private + + $name = "Ipc" + $version = "1.4" + $srcDir = "#{$name.downcase}-#{$version}" + $packageData = { + 'name' => $name, + 'execName' => $name.downcase, + 'version' => $version, + 'srcDir' => $srcDir, + 'homepage' => "http://isotopatcalc.sourceforge.net/", + 'srcUrl' => "http://osdn.dl.sourceforge.net/sourceforge/isotopatcalc/#{$srcdir}.tar.gz", + 'dependsOn' => "", + 'reliesOn' => "", + 'optionalDO' => "", + 'optionalRO' => "", + 'hashCheck' => "sha512:d759b651e343beddc0b3bd06af85881486b72319c979a2e7f752d5a34edd8b7c1c19391c5c7a2e8f6685746cc7a046bf2c8e082b31458a1dd043ed90a4cebcd1", + 'patches' => "", + 'patchesHashCheck' => "", + 'mirrorPath' => "", + 'license' => "GPL", + 'description' => "IPC is a program that calculates the isotopic distribution of a given chemical formula." + } + + +public + + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. + # + ## + def initialize() + super( $packageData ) + end + + ## + # Overriding configure. + # + # <b>RETURN</b> <i>boolean</i> - returns true. + ## + def configure + return true # nothing to do, standard makefile is fine. + end +end Deleted: src/trunk/packages/time.rb =================================================================== --- src/trunk/packages/time.rb 2006-11-22 19:00:51 UTC (rev 226) +++ src/trunk/packages/time.rb 2006-11-22 19:17:05 UTC (rev 227) @@ -1,79 +0,0 @@ -#!/usr/bin/ruby -w - -require "AbtPackage" - -## -# time.rb -# -# AbtFortune package. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class Time < AbtPackage - -protected - -private - - $name = "Time" - $version = "1.7" - $srcDir = "#{$name.downcase}-#{$version}" - $packageData = { - 'name' => $name, - 'execName' => $name.downcase, - 'version' => $version, - 'srcDir' => $srcDir, - 'homepage' => "ftp://www.gnu.org/directory/GNU/time.html", - 'srcUrl' => "ftp://ftp.nluug.nl/pub/gnu/#{$name.downcase}/#{$srcdir}", - 'dependsOn' => "", - 'reliesOn' => "", - 'optionalDO' => "", - 'optionalRO' => "", - 'hashCheck' => "sha512:d759b651e343beddc0b3bd06af85881486b72319c979a2e7f752d5a34edd8b7c1c19391c5c7a2e8f6685746cc7a046bf2c8e082b31458a1dd043ed90a4cebcd1", - 'patches' => "", - 'patchesHashCheck' => "", - 'mirrorPath' => "", - 'license' => "GPL", - 'description' => "The 'time' command runs another program, then displays information about the resources used by that program, collected by the system while the program was running. You can select which information is reported and the format in which it is shown, or have 'time' save the information in a file instead of displaying it on the screen." - } - - -public - - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. - # - ## - def initialize() - super( $packageData ) - end - - ## - # Overriding configure. - # - # <b>RETURN</b> <i>boolean</i> - returns true. - ## - def configure - return true # nothing to do, standard makefile is fine. - end -end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |