Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
aports
Commits
7904d45c
Commit
7904d45c
authored
Jul 06, 2009
by
Natanael Copa
Browse files
extra/ruby: set arch to CARCH, disable distcc/ccache
the CC variable is remembered in rbconfig.rb. fixes
#1
parent
70cea3c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
extra/ruby/APKBUILD
View file @
7904d45c
...
...
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc
=
"An object-oriented language for quick and easy programming"
url
=
"http://www.ruby-lang.org/en/"
license
=
"Ruby"
depends
=
"zlib openssl libiconv gdbm db readline"
depends
=
makedepends
=
"zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev"
source
=
"ftp://ftp.ruby-lang.org/pub/ruby/1.8/
${
pkgname
}
-
${
_pkgver
}
.tar.bz2"
...
...
@@ -22,13 +22,21 @@ build() {
# as it's risky with newer compilers to leave it as it is.
export
CFLAGS
=
"
$CFLAGS
-fno-omit-frame-pointer -fno-strict-aliasing"
./configure
--prefix
=
/usr
\
# turn off distcc/ccache
# http://bugs.alpinelinux.org/issues/show/1
export
CC
=
cc
./configure
--host
=
${
CHOST
:-
i486
-alpine-linux-uclibc
}
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--with-sitedir
=
'/usr/local/lib/site_ruby'
\
--with-extra-site-search-path
=
'/usr/lib/site_ruby/$(ruby_ver)/i686-linux'
\
--enable-shared
make
||
return
1
make
DESTDIR
=
"
$pkgdir
"
install
install
-Dm644
COPYING
"
${
pkgdir
}
/usr/share/licenses/
${
pkgname
}
"
/COPYING
||
return
1
}
...
...
algitbot
@root
mentioned in issue
#1 (closed)
·
Jul 12, 2019
mentioned in issue
#1 (closed)
mentioned in issue #1
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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