Add fd2pragma tool.

This commit is contained in:
Krystian Bacławski 2016-10-23 12:56:47 +02:00
parent c5bd7a7642
commit 8fa7eef8cd
3 changed files with 15 additions and 0 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "submodules/python-lhafile"]
path = submodules/python-lhafile
url = git://github.com/FrodeSolheim/python-lhafile
[submodule "submodules/fd2pragma"]
path = submodules/fd2pragma
url = https://github.com/adtools/fd2pragma.git

1
submodules/fd2pragma Submodule

@ -0,0 +1 @@
Subproject commit 68089f8a6f9a67f329f87487b9e399d6f3b8e1a4

View File

@ -91,6 +91,13 @@ def headers_install():
copytree('{sources}/{ixemul}/include', '{prefix}/{target}/libnix/include')
@recipe('fd2pragma-install')
def install_fd2pragma():
info('installing fd2pragma')
copy('{build}/fd2pragma/fd2pragma', '{prefix}/bin')
@recipe('tools-install')
def install_tools():
info('installing extra tools')
@ -355,6 +362,10 @@ def build():
make('fd2sfd')
make('fd2sfd', 'install')
unpack('fd2pragma', work_dir='{build}')
make('fd2pragma')
install_fd2pragma()
unpack('sfdc')
configure('sfdc', '--prefix={prefix}', copy_source=True)
make('sfdc')