Skip to content

Commit 2e7a3db

Browse files
committed
set DESTDIR inside make install command
1 parent a9554a4 commit 2e7a3db

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.packager

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ Packager.build do
4343
build do
4444
name 'heavywater-ruby'
4545
template :generic
46-
environment(
47-
{ 'DESTDIR' => '$PKG_DIR' }
48-
)
4946
commands do
5047
build [
5148
'wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz',
@@ -54,7 +51,7 @@ Packager.build do
5451
'autoconf',
5552
'./configure --prefix=/usr --disable-install-doc',
5653
'make',
57-
'make install'
54+
'make install DESTDIR=$PKG_DIR'
5855
]
5956
end
6057
end

0 commit comments

Comments
 (0)