There are issues with some versions of the XML/Ada library on i386, blocking the build of the testing environment when these tests are run. TKM tests won't work in such a case but at least make-testing does not block with this patch. Fixes #336.
24 lines
385 B
Makefile
24 lines
385 B
Makefile
#!/usr/bin/make
|
|
|
|
PKG = tkm-rpc
|
|
SRC = http://git.codelabs.ch/git/$(PKG).git
|
|
REV = v0.1
|
|
|
|
PREFIX = /usr/local/ada
|
|
|
|
export ADA_PROJECT_PATH=$(PREFIX)/lib/gnat
|
|
|
|
all: install
|
|
|
|
.$(PKG)-cloned:
|
|
git clone $(SRC) $(PKG)
|
|
cd $(PKG) && git checkout $(REV)
|
|
@touch $@
|
|
|
|
.$(PKG)-built: .$(PKG)-cloned
|
|
cd $(PKG) && make
|
|
@touch $@
|
|
|
|
install: .$(PKG)-built
|
|
cd $(PKG) && make PREFIX=$(PREFIX) install
|