Thread: [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. |
From: <esc...@us...> - 2007-07-16 13:53:22
|
Revision: 365 http://svn.sourceforge.net/abtlinux/?rev=365&view=rev Author: eschabell Date: 2007-07-16 06:53:25 -0700 (Mon, 16 Jul 2007) Log Message: ----------- Updated to reflect correct requires file names. Modified Paths: -------------- src/trunk/packages/fortune.rb src/trunk/packages/ipc.rb Modified: src/trunk/packages/fortune.rb =================================================================== --- src/trunk/packages/fortune.rb 2007-07-16 13:51:57 UTC (rev 364) +++ src/trunk/packages/fortune.rb 2007-07-16 13:53:25 UTC (rev 365) @@ -1,11 +1,11 @@ #!/usr/bin/ruby -w -require "AbtPackage" +require "abtpackage" ## # fortune.rb # -# AbtFortune package. +# Fortune package. # # Created by Eric D. Schabell <er...@ab...> # Copyright 2006, GPL. Modified: src/trunk/packages/ipc.rb =================================================================== --- src/trunk/packages/ipc.rb 2007-07-16 13:51:57 UTC (rev 364) +++ src/trunk/packages/ipc.rb 2007-07-16 13:53:25 UTC (rev 365) @@ -5,7 +5,7 @@ ## # ipc.rb # -# AbtFortune package. +# Ipc package. # # Created by Eric D. Schabell <er...@ab...> # Copyright 2006, GPL. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-12-31 12:51:42
|
Revision: 456 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=456&view=rev Author: eschabell Date: 2007-12-31 04:51:46 -0800 (Mon, 31 Dec 2007) Log Message: ----------- Updated packages with a LOAD_PATH. Modified Paths: -------------- src/trunk/packages/fortune.rb src/trunk/packages/ipc.rb Modified: src/trunk/packages/fortune.rb =================================================================== --- src/trunk/packages/fortune.rb 2007-12-31 12:50:39 UTC (rev 455) +++ src/trunk/packages/fortune.rb 2007-12-31 12:51:46 UTC (rev 456) @@ -1,5 +1,7 @@ #!/usr/bin/ruby -w +$LOAD_PATH.unshift '../' + require "abtpackage" ## Modified: src/trunk/packages/ipc.rb =================================================================== --- src/trunk/packages/ipc.rb 2007-12-31 12:50:39 UTC (rev 455) +++ src/trunk/packages/ipc.rb 2007-12-31 12:51:46 UTC (rev 456) @@ -1,5 +1,7 @@ #!/usr/bin/ruby -w +$LOAD_PATH.unshift '../' + require 'abtpackage' ## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-12-31 14:05:23
|
Revision: 462 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=462&view=rev Author: eschabell Date: 2007-12-31 06:05:23 -0800 (Mon, 31 Dec 2007) Log Message: ----------- Updated packages with load paths. Modified Paths: -------------- src/trunk/packages/fortune.rb src/trunk/packages/ipc.rb Modified: src/trunk/packages/fortune.rb =================================================================== --- src/trunk/packages/fortune.rb 2007-12-31 14:04:48 UTC (rev 461) +++ src/trunk/packages/fortune.rb 2007-12-31 14:05:23 UTC (rev 462) @@ -1,6 +1,7 @@ #!/usr/bin/ruby -w -$LOAD_PATH.unshift '../' +$LOAD_PATH.unshift '/var/lib/abt/' +$LOAD_PATH.unshift '../libs/' # development only. require "abtpackage" Modified: src/trunk/packages/ipc.rb =================================================================== --- src/trunk/packages/ipc.rb 2007-12-31 14:04:48 UTC (rev 461) +++ src/trunk/packages/ipc.rb 2007-12-31 14:05:23 UTC (rev 462) @@ -1,6 +1,7 @@ #!/usr/bin/ruby -w -$LOAD_PATH.unshift '../' +$LOAD_PATH.unshift '/var/lib/abt/' +$LOAD_PATH.unshift '../libs/' # development only. require 'abtpackage' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2008-01-02 22:10:53
|
Revision: 470 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=470&view=rev Author: eschabell Date: 2008-01-02 13:05:42 -0800 (Wed, 02 Jan 2008) Log Message: ----------- Removed the local libs path search in packages. Modified Paths: -------------- src/trunk/packages/fortune.rb src/trunk/packages/ipc.rb Modified: src/trunk/packages/fortune.rb =================================================================== --- src/trunk/packages/fortune.rb 2007-12-31 14:29:57 UTC (rev 469) +++ src/trunk/packages/fortune.rb 2008-01-02 21:05:42 UTC (rev 470) @@ -1,7 +1,6 @@ #!/usr/bin/ruby -w $LOAD_PATH.unshift '/var/lib/abt/' -$LOAD_PATH.unshift '../libs/' # development only. require "abtpackage" @@ -46,10 +45,10 @@ 'srcDir' => $srcDir, 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{$name.downcase}/", 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{$name.downcase}/#{$srcDir}.tar.gz", - 'dependsOn' => "", - 'reliesOn' => "", - 'optionalDO' => "", - 'optionalRO' => "", + 'dependsOn' => "my patience", + 'reliesOn' => "simply nothing", + 'optionalDO' => "garbage", + 'optionalRO' => "sense of humor", 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c2", 'patches' => "http://patches.abtlinux.org/#{$srcDir}-patches-1.tar.gz", 'patchesHashCheck' => "", Modified: src/trunk/packages/ipc.rb =================================================================== --- src/trunk/packages/ipc.rb 2007-12-31 14:29:57 UTC (rev 469) +++ src/trunk/packages/ipc.rb 2008-01-02 21:05:42 UTC (rev 470) @@ -1,7 +1,6 @@ #!/usr/bin/ruby -w $LOAD_PATH.unshift '/var/lib/abt/' -$LOAD_PATH.unshift '../libs/' # development only. require 'abtpackage' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2008-02-02 20:38:46
|
Revision: 505 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=505&view=rev Author: eschabell Date: 2008-02-02 12:38:50 -0800 (Sat, 02 Feb 2008) Log Message: ----------- Updated the creation date for checkinstall and added new grep package. Modified Paths: -------------- src/trunk/packages/checkinstall.rb Added Paths: ----------- src/trunk/packages/grep.rb Modified: src/trunk/packages/checkinstall.rb =================================================================== --- src/trunk/packages/checkinstall.rb 2008-02-02 20:24:29 UTC (rev 504) +++ src/trunk/packages/checkinstall.rb 2008-02-02 20:38:50 UTC (rev 505) @@ -10,7 +10,7 @@ # Checkinstall package. # # Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. +# Copyright 2008, GPL. # # This file is part of AbTLinux. # Added: src/trunk/packages/grep.rb =================================================================== --- src/trunk/packages/grep.rb (rev 0) +++ src/trunk/packages/grep.rb 2008-02-02 20:38:50 UTC (rev 505) @@ -0,0 +1,132 @@ +#!/usr/bin/ruby -w + +$LOAD_PATH.unshift '/var/lib/abt/' + +require 'abtpackage' + +## +# grep.rb +# +# Grep package. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2008, 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 Grep < AbtPackage + +protected + +private + + $name = "Grep" + $version = "2.5.1" + $srcDir = "#{$name.downcase}-#{$version}" + $srcFile = "#{$srcDir}.tar.bz" + $packageData = { + 'name' => $name, + 'execName' => $name.downcase, + 'version' => $version, + 'srcDir' => $srcDir, + 'homepage' => "http://www.gnu.org/software/grep/", + 'srcUrl' => "ftp://ftp.nluug.nl/pub/gnu/grep/#{$srcFile}", + 'dependsOn' => "", + 'reliesOn' => "", + 'optionalDO' => "", + 'optionalRO' => "", + 'hashCheck' => "", + 'patches' => "", + 'patchesHashCheck' => "", + 'mirrorPath' => "", + 'license' => "GPL2", + 'description' => + "The grep command searches one or more input files for lines containing + a match to a specified pattern. By default, grep prints the matching lines." + } + + +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 + + ## + # Override configure by returning true, none needed. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True always. + ## + def configure(verbose=true) + return true + end + + ## + # All files to be installed are installed here, note without installwatch, + # as we are installing it! + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def install(verbose=true) + if (verbose) + command = "make install" + else + command = "make install >/dev/null" + end + + Dir.chdir("#{$BUILD_LOCATION}/#{@srcDir}") + + if !system(command) + puts "[AbtPackage.install] - pre-install section failed, exit code was #{$?.exitstatus}." + return false + end + + if (verbose) + command = "installwatch --transl=no --backup=no " + + "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + + "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install" + else + command = "installwatch --transl=no --backup=no " + + "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + + "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install >/dev/null" + end + + Dir.chdir("#{$BUILD_LOCATION}/#{@srcDir}") + + if !system(command) + puts "[AbtPackage.install] - install section failed, exit code was #{$?.exitstatus}." + return false + end + + puts "[AbtPackage.install] - install section completed, exit code was #{$?.exitstatus}!" if (verbose) + return true + end +end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |