diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-06-21 10:56:55 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-06-21 10:56:55 +0000 |
commit | 489b6a5306f268d5c35466a82ef1184764d0f30d (patch) | |
tree | b3c7753a61e1c472438ab4bb7161f41052ba31e3 /testing | |
parent | af4306109b58e890c58fe6a6bcb5c4b98c0f6164 (diff) | |
download | aports-489b6a5306f268d5c35466a82ef1184764d0f30d.tar.bz2 aports-489b6a5306f268d5c35466a82ef1184764d0f30d.tar.xz |
aports/main: move redmine and deps to main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/redmine/APKBUILD | 85 | ||||
-rw-r--r-- | testing/redmine/additional_environment.rb | 16 | ||||
-rw-r--r-- | testing/redmine/configuration.yml | 147 | ||||
-rw-r--r-- | testing/redmine/database.yml | 10 | ||||
-rw-r--r-- | testing/redmine/lighttpd-virtual.conf | 26 | ||||
-rw-r--r-- | testing/ruby-actionmailer/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-actionpack/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-activerecord/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-activeresource/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-activesupport/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-fcgi/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-i18n/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-mysql/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-openid/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-pg/APKBUILD | 32 | ||||
-rw-r--r-- | testing/ruby-rack/APKBUILD | 31 | ||||
-rw-r--r-- | testing/ruby-rails/APKBUILD | 33 | ||||
-rw-r--r-- | testing/ruby-rake/APKBUILD | 31 | ||||
-rw-r--r-- | testing/ruby-rmagick/APKBUILD | 31 | ||||
-rw-r--r-- | testing/ruby-sqlite3/APKBUILD | 32 |
20 files changed, 0 insertions, 762 deletions
diff --git a/testing/redmine/APKBUILD b/testing/redmine/APKBUILD deleted file mode 100644 index b3bd5a13f5..0000000000 --- a/testing/redmine/APKBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=redmine -pkgver=1.2.0 -pkgrel=2 -pkgdesc="Project management web application written in Ruby" -url="http://redmine.org" -arch="noarch" -license="GPL2" -depends="ruby-rails ruby-fcgi ruby-rmagick ruby-i18n ruby-openid - lighttpd rubygems" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://rubyforge.org/frs/download.php/74944/redmine-$pkgver.tar.gz - additional_environment.rb - configuration.yml - database.yml - lighttpd-virtual.conf" -_webapps="usr/share/webapps" - -_builddir="$srcdir"/redmine-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - #nothing to do here - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir/$_webapps/$pkgname" \ - "$pkgdir"/var/log \ - "$pkgdir"/etc/lighttpd \ - "$pkgdir"/var/www/localhost/htdocs - # move app to webapps dir - mv * "$pkgdir/$_webapps/$pkgname" - # install default config to /etc/redmine - install -m644 -D "$srcdir"/database.yml \ - "$pkgdir"/etc/redmine/database.yml - install -m644 -D "$srcdir"/configuration.yml \ - "$pkgdir"/etc/redmine/configuration.yml - install -m644 -D "$srcdir"/additional_environment.rb \ - "$pkgdir"/etc/redmine/additional_environment.rb - # we use fcgi by default - cd "$pkgdir/$_webapps/$pkgname"/public - ln -s dispatch.fcgi.example dispatch.fcgi - cd "$pkgdir/$_webapps/$pkgname"/config - # link config to webapps dir - ln -s /etc/redmine/database.yml - ln -s /etc/redmine/configuration.yml - ln -s /etc/redmine/additional_environment.rb - # move redmine log to /var/log - cd "$pkgdir/$_webapps/$pkgname" - mv log "$pkgdir"/var/log/$pkgname - # symlink logs to var log - ln -s /var/log/redmine log - # symlink redmine to htdocs dir - ln -s "/$_webapps/$pkgname" \ - "$pkgdir"/var/www/localhost/htdocs/"$pkgname" - # example lighttpd config for redmine virtual hosting - cp "$srcdir"/lighttpd-virtual.conf \ - "$pkgdir"/etc/lighttpd/redmine-virtual.conf - # set correct permissions - chown -R lighttpd:lighttpd \ - "$pkgdir/$_webapps/$pkgname" \ - "$pkgdir"/var/log/"$pkgname" \ - "$pkgdir"/etc/"$pkgname" -} - -md5sums="9d9809a6137c75f754a7fb6c0acc1d6c redmine-1.2.0.tar.gz -b9ca61be7418969188c74c110e3fe3a5 additional_environment.rb -69243d1b5b9b111da631c7034d51ba71 configuration.yml -4c4b10aadbc229ea75f309ff1fafcd7a database.yml -f43ad7e5875b46b723c69b3a9b5e52f2 lighttpd-virtual.conf" diff --git a/testing/redmine/additional_environment.rb b/testing/redmine/additional_environment.rb deleted file mode 100644 index 0d37f579d6..0000000000 --- a/testing/redmine/additional_environment.rb +++ /dev/null @@ -1,16 +0,0 @@ -# Copy this file to additional_environment.rb and add any statements -# that need to be passed to the Rails::Initializer. `config` is -# available in this context. -# -# Example: -# -# config.log_level = :debug -# config.gem "example_plugin", :lib => false -# config.gem "timesheet_plugin", :lib => false, :version => '0.5.0' -# config.gem "aws-s3", :lib => "aws/s3" -# ... -# - -config.logger = Logger.new(config.log_path, 2, 1000000) -config.logger.level = Logger::WARN - diff --git a/testing/redmine/configuration.yml b/testing/redmine/configuration.yml deleted file mode 100644 index a729c60c7d..0000000000 --- a/testing/redmine/configuration.yml +++ /dev/null @@ -1,147 +0,0 @@ -# = Redmine configuration file -# -# Each environment has it's own configuration options. If you are only -# running in production, only the production block needs to be configured. -# Environment specific configuration options override the default ones. -# -# Note that this file needs to be a valid YAML file. -# -# == Outgoing email settings (email_delivery setting) -# -# === Common configurations -# -# ==== Sendmail command -# -# production: -# email_delivery: -# delivery_method: :sendmail -# -# ==== Simple SMTP server at localhost -# -# production: -# email_delivery: -# delivery_method: :smtp -# smtp_settings: -# address: "localhost" -# port: 25 -# -# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com -# -# production: -# email_delivery: -# delivery_method: :smtp -# smtp_settings: -# address: "example.com" -# port: 25 -# authentication: :login -# domain: 'foo.com' -# user_name: 'myaccount' -# password: 'password' -# -# ==== SMTP server at example.com using PLAIN authentication -# -# production: -# email_delivery: -# delivery_method: :smtp -# smtp_settings: -# address: "example.com" -# port: 25 -# authentication: :plain -# domain: 'example.com' -# user_name: 'myaccount' -# password: 'password' -# -# ==== SMTP server at using TLS (GMail) -# -# This requires some additional configuration. See the article at: -# http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/ -# -# production: -# email_delivery: -# delivery_method: :smtp -# smtp_settings: -# tls: true -# address: "smtp.gmail.com" -# port: 587 -# domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps -# authentication: :plain -# user_name: "your_email@gmail.com" -# password: "your_password" -# -# -# === More configuration options -# -# See the "Configuration options" at the following website for a list of the -# full options allowed: -# -# http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer - - -# default configuration options for all environments -default: - # Outgoing emails configuration (see examples above) - email_delivery: - delivery_method: :smtp - smtp_settings: - address: smtp.example.net - port: 25 - domain: example.net - authentication: :login - user_name: "redmine@example.net" - password: "redmine" - - # Absolute path to the directory where attachments are stored. - # The default is the 'files' directory in your Redmine instance. - # Your Redmine instance needs to have write permission on this - # directory. - # Examples: - # attachments_storage_path: /var/redmine/files - # attachments_storage_path: D:/redmine/files - attachments_storage_path: - - # Configuration of the autologin cookie. - # autologin_cookie_name: the name of the cookie (default: autologin) - # autologin_cookie_path: the cookie path (default: /) - # autologin_cookie_secure: true sets the cookie secure flag (default: false) - autologin_cookie_name: - autologin_cookie_path: - autologin_cookie_secure: - - # Configuration of SCM executable command. - # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe) - # On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work. - # Examples: - # scm_subversion_command: svn # (default: svn) - # scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg) - # scm_git_command: /usr/local/bin/git # (default: git) - # scm_cvs_command: cvs # (default: cvs) - # scm_bazaar_command: bzr.exe # (default: bzr) - # scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs) - scm_subversion_command: - scm_mercurial_command: - scm_git_command: - scm_cvs_command: - scm_bazaar_command: - scm_darcs_command: - - # Key used to encrypt sensitive data in the database (SCM and LDAP passwords). - # If you don't want to enable data encryption, just leave it blank. - # WARNING: losing/changing this key will make encrypted data unreadable. - # - # If you want to encrypt existing passwords in your database: - # * set the cipher key here in your configuration file - # * encrypt data using 'rake db:encrypt RAILS_ENV=production' - # - # If you have encrypted data and want to change this key, you have to: - # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first - # * change the cipher key here in your configuration file - # * encrypt data using 'rake db:encrypt RAILS_ENV=production' - database_cipher_key: - -# specific configuration options for production environment -# that overrides the default ones -production: - -# specific configuration options for development environment -# that overrides the default ones -development: diff --git a/testing/redmine/database.yml b/testing/redmine/database.yml deleted file mode 100644 index eb934bf765..0000000000 --- a/testing/redmine/database.yml +++ /dev/null @@ -1,10 +0,0 @@ -# MySQL (default setup). - -production: - adapter: mysql - database: redmine - host: localhost - username: root - password: - encoding: utf8 - diff --git a/testing/redmine/lighttpd-virtual.conf b/testing/redmine/lighttpd-virtual.conf deleted file mode 100644 index be0c684b0c..0000000000 --- a/testing/redmine/lighttpd-virtual.conf +++ /dev/null @@ -1,26 +0,0 @@ -## copy this file to /etc/lighttpd to enable virtual hosting -## make sure you set hostname correctly - -server.modules += ( "mod_simple_vhost" , "mod_fastcgi" ) - -$HTTP["host"] =~ "^www\.example\.org$" { - server.document-root = "/var/www/localhost/htdocs/redmine/public/" - server.follow-symlink = "enable" - server.indexfiles = ( "dispatch.fcgi" ) - server.error-handler-404 = "/dispatch.fcgi" - - fastcgi.server = ( - ".fcgi" => ( - "redmine" => ( - "bin-path" => "/usr/bin/ruby /var/www/localhost/htdocs/redmine/public/dispatch.fcgi", - "socket" => "/tmp/redmine.socket", - "min-procs" => 1, - "max-procs" => 4, - "idle-timeout" => 120, - "check-local" => "disable", - "bin-environment" => ( "RAILS_ENV" => "production" ), - ) - ) - ) -} - diff --git a/testing/ruby-actionmailer/APKBUILD b/testing/ruby-actionmailer/APKBUILD deleted file mode 100644 index b2909f4285..0000000000 --- a/testing/ruby-actionmailer/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-actionmailer -_realname=actionmailer -pkgver=2.3.11 -pkgrel=0 -pkgdesc="Email on Rails" -url="http://rubygems.org/gems/actionmailer" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-actionpack/APKBUILD b/testing/ruby-actionpack/APKBUILD deleted file mode 100644 index 2839543d45..0000000000 --- a/testing/ruby-actionpack/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-actionpack -_realname=actionpack -pkgver=2.3.11 -pkgrel=0 -pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller" -url="http://rubygems.org/gems/actionpack" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-activerecord/APKBUILD b/testing/ruby-activerecord/APKBUILD deleted file mode 100644 index 4835e88409..0000000000 --- a/testing/ruby-activerecord/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-activerecord -_realname=activerecord -pkgver=2.3.11 -pkgrel=0 -pkgdesc="Ruby ActiveRecord pattern (Fowler, PoEAA) for ORM" -url="https://rubyforge.org/projects/activerecord/" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-activeresource/APKBUILD b/testing/ruby-activeresource/APKBUILD deleted file mode 100644 index ea766d6c06..0000000000 --- a/testing/ruby-activeresource/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-activeresource -_realname=activeresource -pkgver=2.3.11 -pkgrel=0 -pkgdesc="REST on Rails" -url="https://rubyforge.org/projects/activeresource/" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-activesupport/APKBUILD b/testing/ruby-activesupport/APKBUILD deleted file mode 100644 index 24df309d59..0000000000 --- a/testing/ruby-activesupport/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-activesupport -_realname=activesupport -pkgver=2.3.11 -pkgrel=0 -pkgdesc="Utility classes and extension to the standard library" -url="https://rubyforge.org/projects/activesupport/" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-fcgi/APKBUILD b/testing/ruby-fcgi/APKBUILD deleted file mode 100644 index be2014bdeb..0000000000 --- a/testing/ruby-fcgi/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-fcgi -_realname=fcgi -pkgver=0.8.8 -pkgrel=0 -pkgdesc="Ruby fast CGI support" -url="http://rubygems.org/gems/fcgi" -arch="all" -license="GPL" -depends="ruby" -depends_dev="fcgi-dev" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-i18n/APKBUILD b/testing/ruby-i18n/APKBUILD deleted file mode 100644 index a13e453a97..0000000000 --- a/testing/ruby-i18n/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-i18n -_realname=i18n -pkgver=0.4.2 -pkgrel=0 -pkgdesc="Internationalization support for Ruby" -url="http://rubygems.org/gems/i18n" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-mysql/APKBUILD b/testing/ruby-mysql/APKBUILD deleted file mode 100644 index bd74c68967..0000000000 --- a/testing/ruby-mysql/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-mysql -_realname=mysql -pkgver=2.8.1 -pkgrel=0 -pkgdesc="MySQL API module for Ruby" -url="http://rubygems.org/gems/mysql" -arch="all" -license="GPL" -depends="ruby" -depends_dev="mysql-dev" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-openid/APKBUILD b/testing/ruby-openid/APKBUILD deleted file mode 100644 index 4c1366b3fd..0000000000 --- a/testing/ruby-openid/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-openid -_realname=openid -pkgver=0.0.1 -pkgrel=0 -pkgdesc="OpenID support for Ruby" -url="http://rubygems.org/gems/openid" -arch="all" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-pg/APKBUILD b/testing/ruby-pg/APKBUILD deleted file mode 100644 index 2a9ce33307..0000000000 --- a/testing/ruby-pg/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-pg -_realname=$pkgname -pkgver=0.7.9.2008.01.28 -pkgrel=0 -pkgdesc="PostgreSQL API module for Ruby" -url="http://rubygems.org/gems/ruby-pg" -arch="all" -license="GPL" -depends="ruby" -depends_dev="postgresql-dev" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-rack/APKBUILD b/testing/ruby-rack/APKBUILD deleted file mode 100644 index 150aefc861..0000000000 --- a/testing/ruby-rack/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=ruby-rack -_realname=rack -pkgver=1.1.2 -pkgrel=1 -pkgdesc="Rack is a Ruby Webserver Interface" -url="http://rack.rubyforge.org/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-rails/APKBUILD b/testing/ruby-rails/APKBUILD deleted file mode 100644 index 020a9a3bc9..0000000000 --- a/testing/ruby-rails/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-rails -_realname=rails -pkgver=2.3.11 -pkgrel=0 -pkgdesc="Ruby full-stack web framework" -url="http://rubyonrails.org/" -arch="all" -license="GPL" -depends="ruby ruby-actionmailer ruby-actionpack ruby-activerecord - ruby-activeresource ruby-activesupport ruby-rake ruby-rack" -depends_dev= -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-rake/APKBUILD b/testing/ruby-rake/APKBUILD deleted file mode 100644 index 197f776124..0000000000 --- a/testing/ruby-rake/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=ruby-rake -_realname=rake -pkgver=0.9.2 -pkgrel=1 -pkgdesc="Rake is a Make-like program implemented in Ruby." -url="http://rake.rubyforge.org/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-rmagick/APKBUILD b/testing/ruby-rmagick/APKBUILD deleted file mode 100644 index 53a4c61c2a..0000000000 --- a/testing/ruby-rmagick/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> -# Maintainer: -pkgname=ruby-rmagick -_realname=rmagick -pkgver=2.13.1 -pkgrel=0 -pkgdesc="Ruby ImageMagick interface" -url="http://rmagick.rubyforge.org" -arch="all" -license="custom" -depends="ruby ghostscript-fonts" -depends_dev="ruby-dev imagemagick-dev freetype-dev jpeg-dev zlib-dev" -makedepends="$depends_dev ruby rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} diff --git a/testing/ruby-sqlite3/APKBUILD b/testing/ruby-sqlite3/APKBUILD deleted file mode 100644 index 694a86c530..0000000000 --- a/testing/ruby-sqlite3/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=ruby-sqlite -_realname=sqlite3 -pkgver=1.3.3 -pkgrel=0 -pkgdesc="SQLite API module for Ruby" -url="http://rubygems.org/gems/sqlite3" -arch="all" -license="GPL" -depends="ruby" -depends_dev="sqlite-dev" -makedepends="$depends_dev rubygems" -install="" -subpackages="" -source="" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies --verbose \ - --no-rdoc --no-ri || return 1 - rm -rf "$_builddir"$_gemdir/cache/ -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} |