]>
Commit | Line | Data |
---|---|---|
b491ee4e RB |
1 | #!/usr/bin/make |
2 | ||
3 | PKG = tkm-rpc | |
4 | SRC = http://git.codelabs.ch/git/$(PKG).git | |
5 | REV = v0.1 | |
6 | ||
3db17b0c RB |
7 | PREFIX = /usr/local/ada |
8 | ||
9 | export ADA_PROJECT_PATH=$(PREFIX)/lib/gnat | |
b491ee4e RB |
10 | |
11 | all: install | |
12 | ||
13 | .$(PKG)-cloned: | |
14 | git clone $(SRC) $(PKG) | |
15 | cd $(PKG) && git checkout $(REV) | |
16 | @touch $@ | |
17 | ||
18 | .$(PKG)-built: .$(PKG)-cloned | |
9c2aba27 | 19 | cd $(PKG) && make |
b491ee4e RB |
20 | @touch $@ |
21 | ||
22 | install: .$(PKG)-built | |
3db17b0c | 23 | cd $(PKG) && make PREFIX=$(PREFIX) install |