Commit 69c01319 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #699 from lyxell/remove-comments

Remove unnecessary comments, fix quotes inside descriptions
parents eff96f54 1e8b2bb3
require 'package' # include package class file require 'package'
class Ctags < Package # name the package and make it a Package class instance class Ctags < Package
description 'Exuberant Ctags is a multilanguage reimplementation of the Unix ctags utility.' description 'Exuberant Ctags is a multilanguage reimplementation of the Unix ctags utility.'
homepage 'https://sourceforge.net/projects/ctags/' homepage 'https://sourceforge.net/projects/ctags/'
version '5.8' # software version version '5.8'
source_url 'http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz' # software source tarball url source_url 'http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz'
source_sha1 '482da1ecd182ab39bbdc09f2f02c9fba8cd20030' # source tarball sha1 sum source_sha1 '482da1ecd182ab39bbdc09f2f02c9fba8cd20030'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
def self.install # self.install contains commands needed to install the software on the target system
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end # during installation
end end
require 'package' require 'package'
class Di < Package class Di < Package
description ''di' is a disk information utility, displaying everything (and more) that your 'df' command does.' description '\'di\' is a disk information utility, displaying everything (and more) that your \'df\' command does.'
homepage 'http://gentoo.com/di/' homepage 'http://gentoo.com/di/'
version '4.43' version '4.43'
source_url 'http://gentoo.com/di/di-4.43.tar.gz' source_url 'http://gentoo.com/di/di-4.43.tar.gz'
......
require 'package' require 'package'
class Expat < Package class Expat < Package
description 'James Clark's Expat XML parser library in C.' description 'James Clark\'s Expat XML parser library in C.'
homepage 'https://sourceforge.net/projects/expat/' homepage 'https://sourceforge.net/projects/expat/'
version '2.2.0' version '2.2.0'
source_url 'https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2/download' source_url 'https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2/download'
......
require 'package' require 'package'
class Gdb < Package class Gdb < Package
description 'GDB, the GNU Project debugger, allows you to see what is going on 'inside' another program while it executes -- or what another program was doing at the moment it crashed.' description 'GDB, the GNU Project debugger, allows you to see what is going on \'inside\' another program while it executes -- or what another program was doing at the moment it crashed.'
homepage 'https://www.gnu.org/software/gdb/' homepage 'https://www.gnu.org/software/gdb/'
version '7.12.1.' version '7.12.1.'
source_url 'https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.xz' source_url 'https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.xz'
......
...@@ -4,18 +4,18 @@ class Htop < Package ...@@ -4,18 +4,18 @@ class Htop < Package
description 'htop is an interactive process viewer for Unix systems.' description 'htop is an interactive process viewer for Unix systems.'
homepage 'https://hisham.hm/htop/' homepage 'https://hisham.hm/htop/'
version '2.0.2' version '2.0.2'
source_url 'http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz' # software source tarball url source_url 'http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz'
source_sha1 '201f793f13dce2448e36047079875b9bd5bba75a' source_sha1 '201f793f13dce2448e36047079875b9bd5bba75a'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure --disable-unicode" system "./configure --disable-unicode"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -4,17 +4,17 @@ class Inetutils < Package ...@@ -4,17 +4,17 @@ class Inetutils < Package
description 'Inetutils - GNU network utilities is a collection of common network programs.' description 'Inetutils - GNU network utilities is a collection of common network programs.'
homepage 'https://www.gnu.org/software/inetutils/' homepage 'https://www.gnu.org/software/inetutils/'
version '1.9.4' version '1.9.4'
source_url 'http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.gz' # Software source tarball url source_url 'http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.gz'
source_sha1 'defae98a27c0e9516c4ef2321a374a3645adb3b9' source_sha1 'defae98a27c0e9516c4ef2321a374a3645adb3b9'
depends_on 'buildessential' depends_on 'buildessential'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' # include package class file require 'package'
class Leveldb < Package # name the package and make it a Package class instance class Leveldb < Package
description 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.' description 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.'
homepage 'https://leveldb.googlecode.com/' homepage 'https://leveldb.googlecode.com/'
version '1.19.0' # software version version '1.19.0'
source_url 'https://github.com/google/leveldb/archive/v1.19.tar.gz' # software source tarball url source_url 'https://github.com/google/leveldb/archive/v1.19.tar.gz'
source_sha1 '864b45b4a8d1ad400b9115ff6d3c9fb1f79be82b' # source tarball sha1 sum source_sha1 '864b45b4a8d1ad400b9115ff6d3c9fb1f79be82b'
def self.build # self.build contains commands needed to build the software from source def self.build
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/include" system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/include"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/lib" system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/lib"
system "cp", "-R", "include/leveldb", "#{CREW_DEST_DIR}/usr/local/include" system "cp", "-R", "include/leveldb", "#{CREW_DEST_DIR}/usr/local/include"
......
require 'package' # include package class file require 'package'
class Libevent < Package # name the package and make it a Package class instance class Libevent < Package
description 'The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.' description 'The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.'
homepage 'http://libevent.org/' homepage 'http://libevent.org/'
version '2.1.8' # software version version '2.1.8'
source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz' # software source tarball url source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz'
source_sha1 '2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec' # source tarball sha1 sum source_sha1 '2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec'
depends_on 'openssl' depends_on 'openssl'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end # during installation end
end end
require 'package' require 'package'
class Make < Package class Make < Package
description 'GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.' description 'GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program\'s source files.'
homepage 'https://www.gnu.org/software/make/' homepage 'https://www.gnu.org/software/make/'
version '4.2' version '4.2'
source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2' source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2'
......
...@@ -4,18 +4,18 @@ class Mlocate < Package ...@@ -4,18 +4,18 @@ class Mlocate < Package
description 'mlocate is a locate/updatedb implementation.' description 'mlocate is a locate/updatedb implementation.'
homepage 'https://fedorahosted.org/mlocate/' homepage 'https://fedorahosted.org/mlocate/'
version '0.26-1' version '0.26-1'
source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz' # software source tarball url source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz'
source_sha1 'c6e6d81b25359c51c545f4b8ba0f3b469227fcbc' # source tarball sha1 sum source_sha1 'c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
def self.build # self.build contains commands needed to build the software from source def self.build
system "mkdir -p /usr/local/db/mlocate" # create dbdir directory where mlocate.db will be generated system "mkdir -p /usr/local/db/mlocate"
system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*" # change from /var (symlinked from /usr/local/var) to /usr/local/db system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*"
system "sed -i \"s/groupname = mlocate/groupname = $(whoami)/g\" Makefile.*" # change groupname in all Makefiles to avoid permission issues system "sed -i \"s/groupname = mlocate/groupname = $(whoami)/g\" Makefile.*"
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
class Moonbuggy < Package class Moonbuggy < Package
description 'Moon-buggy is a simple character graphics game where you drive some kind of car across the moon's surface.' description 'Moon-buggy is a simple character graphics game where you drive some kind of car across the moon\'s surface.'
homepage 'http://www.seehuhn.de/pages/moon-buggy' homepage 'http://www.seehuhn.de/pages/moon-buggy'
version '1.0.51' version '1.0.51'
source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz' # software source tarball url source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz'
source_sha1 '7f1c5df99944acfe98eeb5f8d5ab6f28ef61ee7e' # source tarball sha1 sum source_sha1 '7f1c5df99944acfe98eeb5f8d5ab6f28ef61ee7e'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
class Nano < Package class Nano < Package
description 'Nano's ANOther editor, an enhanced free Pico clone.' description 'Nano\'s ANOther editor, an enhanced free Pico clone.'
homepage 'https://www.nano-editor.org/' homepage 'https://www.nano-editor.org/'
version '2.7.1' version '2.7.1'
source_url 'ftp://ftp.gnu.org/pub/gnu/nano/nano-2.7.1.tar.gz' # software source tarball url source_url 'ftp://ftp.gnu.org/pub/gnu/nano/nano-2.7.1.tar.gz'
source_sha1 '5ad089d08e68dc7977f51403de6d7872686647af' source_sha1 '5ad089d08e68dc7977f51403de6d7872686647af'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\"" system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\""
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -4,17 +4,17 @@ class Ncftp < Package ...@@ -4,17 +4,17 @@ class Ncftp < Package
description 'NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP).' description 'NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP).'
homepage 'http://ncftp.com/ncftp/' homepage 'http://ncftp.com/ncftp/'
version '3.2.6' version '3.2.6'
source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz' # Software source tarball url source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz'
source_sha1 'e2351802b40db18d6cbab2537a9644cd858b934d' source_sha1 'e2351802b40db18d6cbab2537a9644cd858b934d'
depends_on 'buildessential' depends_on 'buildessential'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
class Nethack4 < Package class Nethack4 < Package
description 'NetHack is a 'roguelike' game following in the same tradition; the player controls an adventurer delving into a randomly generated dungeon to retrieve the Amulet of Yendor from its depths.' description 'NetHack is a \'roguelike\' game following in the same tradition; the player controls an adventurer delving into a randomly generated dungeon to retrieve the Amulet of Yendor from its depths.'
homepage 'http://nethack4.org/' homepage 'http://nethack4.org/'
# "nethack4" fork of nethack with a few patches and a modern build system # "nethack4" fork of nethack with a few patches and a modern build system
version '4.3.0-beta2' version '4.3.0-beta2'
......
...@@ -4,18 +4,18 @@ class Nginx < Package ...@@ -4,18 +4,18 @@ class Nginx < Package
description 'nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.' description 'nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.'
homepage 'http://nginx.org/' homepage 'http://nginx.org/'
version '1.11.6-1' version '1.11.6-1'
source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz' # software source tarball url source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz'
source_sha1 '51903b721a5ee721568fc59f0a243df5356a98de' # source tarball sha1 sum source_sha1 '51903b721a5ee721568fc59f0a243df5356a98de'
depends_on 'pcre' depends_on 'pcre'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "sudo ln -sf /usr/local/nginx/sbin/nginx /usr/local/bin/nginx" system "sudo ln -sf /usr/local/nginx/sbin/nginx /usr/local/bin/nginx"
system "echo all NGINX things are in /usr/local/nginx" system "echo all NGINX things are in /usr/local/nginx"
system "echo pages are in /usr/local/nginx/html" system "echo pages are in /usr/local/nginx/html"
......
require 'package' require 'package'
class Nmap < Package class Nmap < Package
description 'Nmap ('Network Mapper') is a free and open source (license) utility for network discovery and security auditing.' description 'Nmap (\'Network Mapper\') is a free and open source (license) utility for network discovery and security auditing.'
homepage 'https://nmap.org/' homepage 'https://nmap.org/'
version '7.31' version '7.31'
source_url 'https://nmap.org/dist/nmap-7.31.tgz' # Software source tarball url source_url 'https://nmap.org/dist/nmap-7.31.tgz'
source_sha1 'ccf1bb34463f39a645d9a924ce9e3c9e15eefbbf' source_sha1 'ccf1bb34463f39a645d9a924ce9e3c9e15eefbbf'
depends_on 'buildessential' depends_on 'buildessential'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure --with-pcap=linux --without-zenmap" system "./configure --with-pcap=linux --without-zenmap"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
# @todo: provide vpnc-script (standalone), instructions for manual install: # @todo: provide vpnc-script (standalone), instructions for manual install:
description 'OpenConnect is an SSL VPN client initially created to support Cisco's AnyConnect SSL VPN.'
homepage 'http://www.infradead.org/openconnect/'
# #
# sudo su - # sudo su -
# mkdir /usr/local/etc/vpnc # mkdir /usr/local/etc/vpnc
...@@ -30,6 +28,8 @@ require 'package' ...@@ -30,6 +28,8 @@ require 'package'
class Openconnect < Package class Openconnect < Package
version '7.06-1' version '7.06-1'
description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.'
homepage 'http://www.infradead.org/openconnect/'
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz' source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed' source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed'
......
...@@ -4,10 +4,10 @@ class Php5 < Package ...@@ -4,10 +4,10 @@ class Php5 < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.' description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '5.6.30' version '5.6.30'
source_url 'http://php.net/distributions/php-5.6.30.tar.xz' # software source tarball url source_url 'http://php.net/distributions/php-5.6.30.tar.xz'
source_sha1 '1bca4a340e6aaf82a3e940b0f2de3f36518238e4' # source tarball sha1 sum source_sha1 '1bca4a340e6aaf82a3e940b0f2de3f36518238e4'
depends_on 'pkgconfig' # add package dependencies depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
depends_on 'libpng' depends_on 'libpng'
depends_on 'libxml2' depends_on 'libxml2'
...@@ -17,7 +17,7 @@ class Php5 < Package ...@@ -17,7 +17,7 @@ class Php5 < Package
depends_on 'pcre' depends_on 'pcre'
depends_on 'readline' depends_on 'readline'
def self.build # self.build contains commands needed to build the software from source def self.build
system './configure \ system './configure \
--prefix=/usr/local \ --prefix=/usr/local \
--with-curl \ --with-curl \
...@@ -28,11 +28,11 @@ class Php5 < Package ...@@ -28,11 +28,11 @@ class Php5 < Package
--with-pcre-regex \ --with-pcre-regex \
--with-readline \ --with-readline \
--with-zlib' --with-zlib'
system 'make' # ordered chronologically system 'make'
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "INSTALL_ROOT=#{CREW_DEST_DIR}", "install" # remember to include INSTALL_ROOT set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "INSTALL_ROOT=#{CREW_DEST_DIR}", "install"
# clean up some files created under #{CREW_DEST_DIR}. check http://pear.php.net/bugs/bug.php?id=20383 for more details # clean up some files created under #{CREW_DEST_DIR}. check http://pear.php.net/bugs/bug.php?id=20383 for more details
system "mv", "#{CREW_DEST_DIR}/.depdb", "#{CREW_DEST_DIR}/usr/local/lib/php" system "mv", "#{CREW_DEST_DIR}/.depdb", "#{CREW_DEST_DIR}/usr/local/lib/php"
......
...@@ -4,8 +4,8 @@ class Php7 < Package ...@@ -4,8 +4,8 @@ class Php7 < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.' description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '7.1.5' version '7.1.5'
source_url 'http://php.net/distributions/php-7.1.5.tar.xz' # software source tarball url source_url 'http://php.net/distributions/php-7.1.5.tar.xz'
source_sha1 '8c1622929b838005c72fb4949be9e249ca927fb3' # source tarball sha1 sum source_sha1 '8c1622929b838005c72fb4949be9e249ca927fb3'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
...@@ -17,7 +17,7 @@ class Php7 < Package ...@@ -17,7 +17,7 @@ class Php7 < Package
depends_on 'pcre' depends_on 'pcre'
depends_on 'readline' depends_on 'readline'
def self.build # self.build contains commands needed to build the software from source def self.build
system './configure \ system './configure \
--prefix=/usr/local \ --prefix=/usr/local \
--with-curl \ --with-curl \
...@@ -28,11 +28,11 @@ class Php7 < Package ...@@ -28,11 +28,11 @@ class Php7 < Package
--with-pcre-regex \ --with-pcre-regex \
--with-readline \ --with-readline \
--with-zlib' --with-zlib'
system 'make' # ordered chronologically system 'make'
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "INSTALL_ROOT=#{CREW_DEST_DIR}", "install" # remember to include INSTALL_ROOT set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "INSTALL_ROOT=#{CREW_DEST_DIR}", "install"
# clean up some files created under #{CREW_DEST_DIR}. check http://pear.php.net/bugs/bug.php?id=20383 for more details # clean up some files created under #{CREW_DEST_DIR}. check http://pear.php.net/bugs/bug.php?id=20383 for more details
system "mv", "#{CREW_DEST_DIR}/.depdb", "#{CREW_DEST_DIR}/usr/local/lib/php" system "mv", "#{CREW_DEST_DIR}/.depdb", "#{CREW_DEST_DIR}/usr/local/lib/php"
......
require 'package' require 'package'
class Pwgen < Package class Pwgen < Package
description 'Pwgen is a small, GPL'ed password generator which creates passwords which can be easily memorized by a human.' description 'Pwgen is a small, GPL\'ed password generator which creates passwords which can be easily memorized by a human.'
homepage 'https://sourceforge.net/projects/pwgen/' homepage 'https://sourceforge.net/projects/pwgen/'
version '2.07' version '2.07'
source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz' source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz'
......
...@@ -4,19 +4,19 @@ class Python27 < Package ...@@ -4,19 +4,19 @@ class Python27 < Package
description 'Python is a programming language that lets you work quickly and integrate systems more effectively.' description 'Python is a programming language that lets you work quickly and integrate systems more effectively.'
homepage 'https://www.python.org/' homepage 'https://www.python.org/'
version '2.7.13-1' version '2.7.13-1'
source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz' # software source tarball url source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz'
source_sha1 '18a8f30a0356c751b8d0ea6f76e764cab13ee046' # source tarball sha1 sum source_sha1 '18a8f30a0356c751b8d0ea6f76e764cab13ee046'
depends_on 'bz2' depends_on 'bz2'
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'openssl' depends_on 'openssl'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\" --with-ensurepip=install" system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\" --with-ensurepip=install"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -2,19 +2,19 @@ require 'package' ...@@ -2,19 +2,19 @@ require 'package'
class Python3 < Package class Python3 < Package
version '3.6.0' version '3.6.0'
source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz' # software source tarball url source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz'
source_sha1 '120d536ee14a3153fc2435838c0f27c2e25cd29c' # source tarball sha1 sum source_sha1 '120d536ee14a3153fc2435838c0f27c2e25cd29c'
depends_on 'bz2' depends_on 'bz2'
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'openssl' depends_on 'openssl'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\"" system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\""
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -4,17 +4,17 @@ class Rsync < Package ...@@ -4,17 +4,17 @@ class Rsync < Package
description 'rsync is an open source utility that provides fast incremental file transfer.' description 'rsync is an open source utility that provides fast incremental file transfer.'
homepage 'https://rsync.samba.org/' homepage 'https://rsync.samba.org/'
version '3.1.2' version '3.1.2'
source_url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz' # software source tarball url source_url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz'
source_sha1 '0d4c7fb7fe3fc80eeff922a7c1d81df11dbb8a1a' source_sha1 '0d4c7fb7fe3fc80eeff922a7c1d81df11dbb8a1a'
depends_on 'buildessential' depends_on 'buildessential'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' # include package class file require 'package'
class Screen < Package # name the package and make it a Package class instance class Screen < Package
description 'Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.' description 'Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.'
homepage 'https://www.gnu.org/software/screen/' homepage 'https://www.gnu.org/software/screen/'
version '4.3.1' # software version version '4.3.1'
source_url 'ftp://ftp.gnu.org/gnu/screen/screen-4.3.1.tar.gz' # software source tarball url source_url 'ftp://ftp.gnu.org/gnu/screen/screen-4.3.1.tar.gz'
source_sha1 'a524761504e28480517e338b20c852f2ab100c93' # source tarball sha1 sum source_sha1 'a524761504e28480517e338b20c852f2ab100c93'
depends_on 'ncurses' # software dependencies depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
system "make" end system "make"
end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end # during installation end
end end
...@@ -4,18 +4,18 @@ class Scrollz < Package ...@@ -4,18 +4,18 @@ class Scrollz < Package
description 'ScrollZ is an advanced IRC client based on ircII.' description 'ScrollZ is an advanced IRC client based on ircII.'
homepage 'http://www.scrollz.info/' homepage 'http://www.scrollz.info/'
version '2.3' version '2.3'
source_url 'http://www.scrollz.info/download/ScrollZ-2.3.tar.gz' # Software source tarball url source_url 'http://www.scrollz.info/download/ScrollZ-2.3.tar.gz'
source_sha1 '991e6acfdf95d84ca159a37336c2d45a624d432f' source_sha1 '991e6acfdf95d84ca159a37336c2d45a624d432f'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' require 'package'
class Slang < Package class Slang < Package
description 'S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software.' description 'S-Lang is a multi-platform programmer\'s library designed to allow a developer to create robust multi-platform software.'
homepage 'http://www.jedsoft.org/slang/' homepage 'http://www.jedsoft.org/slang/'
version '2.3.1a' version '2.3.1a'
source_url 'http://www.jedsoft.org/releases/slang/slang-2.3.1a.tar.bz2' source_url 'http://www.jedsoft.org/releases/slang/slang-2.3.1a.tar.bz2'
......
require 'package' require 'package'
class Socat < Package class Socat < Package
description 'SOcket CAT is a multipurpose relay 'netcat++' (extended design, new implementation).' description 'SOcket CAT is a multipurpose relay \'netcat++\' (extended design, new implementation).'
homepage 'http://www.dest-unreach.org/socat/' homepage 'http://www.dest-unreach.org/socat/'
version '1.7.3.1' version '1.7.3.1'
source_url 'http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz' source_url 'http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz'
......
...@@ -4,15 +4,15 @@ class Texinfo < Package ...@@ -4,15 +4,15 @@ class Texinfo < Package
description 'Texinfo is the official documentation format of the GNU project.' description 'Texinfo is the official documentation format of the GNU project.'
homepage 'https://www.gnu.org/software/texinfo/' homepage 'https://www.gnu.org/software/texinfo/'
version '6.3' version '6.3'
source_url 'http://ftp.gnu.org/gnu/texinfo/texinfo-6.3.tar.gz' # software source tarball url source_url 'http://ftp.gnu.org/gnu/texinfo/texinfo-6.3.tar.gz'
source_sha1 '29b16c646c7bc9cd351b2f1d8dafdce70e5377f6' # source tarball sha1 sum source_sha1 '29b16c646c7bc9cd351b2f1d8dafdce70e5377f6'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package' # include package class file require 'package'
class Tig < Package # name the package and make it a Package class instance class Tig < Package
description 'Tig is an ncurses-based text-mode interface for git.' description 'Tig is an ncurses-based text-mode interface for git.'
homepage 'http://jonas.nitro.dk/tig/' homepage 'http://jonas.nitro.dk/tig/'
version '2.2.1' # software version version '2.2.1'
source_url 'https://github.com/jonas/tig/archive/tig-2.2.1.tar.gz' # software source tarball url source_url 'https://github.com/jonas/tig/archive/tig-2.2.1.tar.gz'
source_sha1 '704e35ad3f54024d7ce14dade4294aacc0744b3d' # source tarball sha1 sum source_sha1 '704e35ad3f54024d7ce14dade4294aacc0744b3d'
depends_on 'readline' # software dependencies depends_on 'readline'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./autogen.sh" system "./autogen.sh"
system "./configure", "--prefix=/usr/local" system "./configure", "--prefix=/usr/local"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end # during installation end
end end
require 'package' # include package class file require 'package'
class Tmux < Package # name the package and make it a Package class instance class Tmux < Package
description 'tmux is a terminal multiplexer' description 'tmux is a terminal multiplexer'
homepage 'http://tmux.github.io/' homepage 'http://tmux.github.io/'
version '2.2' # software version version '2.2'
source_url 'https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz' # software source tarball url source_url 'https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz'
source_sha1 '5ed1430bc7ef44c227e64e9401c686573dd0791a' # source tarball sha1 sum source_sha1 '5ed1430bc7ef44c227e64e9401c686573dd0791a'
depends_on 'readline' # software dependencies depends_on 'readline'
depends_on 'libevent' depends_on 'libevent'
depends_on 'ncurses' depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source def self.build
system "CPPFLAGS=-I/usr/local/include/ncurses ./configure" system "CPPFLAGS=-I/usr/local/include/ncurses ./configure"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end # during installation end
end end
require 'package' require 'package'
class Unzip < Package class Unzip < Package
description 'UnZip is an extraction utility for archives compressed in .zip format (also called 'zipfiles').' description 'UnZip is an extraction utility for archives compressed in .zip format (also called \'zipfiles\').'
homepage 'http://www.info-zip.org/UnZip.html' homepage 'http://www.info-zip.org/UnZip.html'
version '1.6_1' version '1.6_1'
source_url 'https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz' source_url 'https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment