Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
name 'git'
org 'amylum'
licenses 'COPYING'
deps(
zlib: {
version: '1.2.11-6',
checksum: '7da7212123edac6d5d5dc2db8fb10a6af06472578840c51e489e1f391b66c208'
},
openssl: {
version: '1.1.1b-2',
checksum: '9a0aec136778a436d542ef037914e0b7a572c9b6fe4c4f826e5f1a4531ce6799'
},
curl: {
version: '7.64.1-1',
checksum: '8f06be472941e1042643ce7ba6d8fd976f877cbb4790c7c4c9a47d2396e2f03a'
}
)
cflags
harden
build do
run(['make', 'all', 'install',
'CC=musl-gcc',
"DESTDIR=#{releasedir}",
"CURL_LIBCURL=#{@forge.dep(:curl)}/usr/lib/libcurl.a #{@forge.dep(:openssl)}/usr/lib/libssl.a #{@forge.dep(:openssl)}/usr/lib/libcrypto.a",
"CFLAGS=#{@forge.cflags.join(' ')}",
"LDFLAGS=#{@forge.cflags.join(' ')}",
'NO_TCLTK=1',
'NO_PYTHON=1',
'NO_EXPAT=1',
'NO_GETTEXT=1',
'NO_REGEX=1',
'prefix=/usr',
'gitexecdir=/usr/lib/git-core'
])
end
test do
run 'git --version'
end