Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
648
Issues
648
List
Boards
Labels
Service Desk
Milestones
Merge Requests
191
Merge Requests
191
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
7c2b7d6a
Commit
7c2b7d6a
authored
Sep 07, 2009
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/rubygems: install rubygems.rb in correct location
fixes
#157
parent
c03f98fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
62 deletions
+10
-62
main/rubygems/APKBUILD
main/rubygems/APKBUILD
+10
-9
main/rubygems/rubygems-1.3.1-setup.patch
main/rubygems/rubygems-1.3.1-setup.patch
+0
-53
No files found.
main/rubygems/APKBUILD
View file @
7c2b7d6a
...
...
@@ -2,22 +2,23 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname
=
rubygems
pkgver
=
1.3.5
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Ruby package manager"
url
=
"http://docs.rubygems.org"
license
=
"GPL"
depends
=
"ruby"
depends
=
"ruby
-dev build-base
"
makedepends
=
"ruby-dev"
source
=
"http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
rubygems-1.3.1-setup.patch
"
"
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
patch
-p0
-i
"
$srcdir
"
/rubygems-1.3.1-setup.patch
ruby setup.rb
--prefix
=
/usr
\
--vendor
\
--destdir
"
$pkgdir
"
ruby setup.rb
--prefix
=
"
$pkgdir
"
/usr
mkdir
-p
"
$pkgdir
"
/usr/lib/ruby/1.8
cd
"
$pkgdir
"
/usr/lib
mv
rbconfig rubygems rubygems.rb ubygems.rb
\
"
$pkgdir
"
/usr/lib/ruby/1.8
}
md5sums
=
"6e317335898e73beab15623cdd5f8cff rubygems-1.3.5.tgz
40ef7562319ac6f82bbbe7315c78bdbb rubygems-1.3.1-setup.patch"
md5sums
=
"6e317335898e73beab15623cdd5f8cff rubygems-1.3.5.tgz"
main/rubygems/rubygems-1.3.1-setup.patch
deleted
100644 → 0
View file @
c03f98fa
--- setup.rb.~1~ 2008-06-22 01:51:11.000000000 +0200
+++ setup.rb 2008-06-28 09:05:54.923666929 +0200
@@ -128,8 +128,8 @@
lib_dir = Gem::ConfigMap[site_or_vendor]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Gem::ConfigMap[site_or_vendor]
+ bin_dir = File.join prefix, Gem::ConfigMap[:bindir]
end
end
@@ -240,19 +240,6 @@
end
end
-# Remove source caches
-if install_destdir.empty?
- require 'rubygems/source_info_cache'
-
- user_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.user_cache_file)
- system_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.system_cache_file)
-
- rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
- rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
-end
-
# install RDoc
gem_doc_dir = File.join Gem.dir, 'doc'
@@ -262,10 +249,6 @@
if File.writable? gem_doc_dir and
(not File.exist? rubygems_doc_dir or
File.writable? rubygems_doc_dir) then
- puts "Removing old RubyGems RDoc and ri"
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
def run_rdoc(*args)
begin
@@ -277,7 +260,7 @@
args << '--quiet'
args << '--main' << 'README'
- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
+ args << '.' << 'README'
r = RDoc::RDoc.new
r.document args
Nathan Angelacos
@nangel
mentioned in issue
#157 (closed)
·
Jul 12, 2019
mentioned in issue
#157 (closed)
mentioned in issue #157
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment