Revision: | 1.3 |
Committed: | Wed Apr 18 23:46:01 2007 UTC (18 years ago) by ratnik |
Branch: | MAIN |
CVS Tags: | pe20070428a-ports, pe20070423b-ports, pe20070423a-ports |
Changes since 1.2: | +2 -0 lines |
Log Message: | Changes for building externals in 64/32 mode: added gcc-wrapper . |
# | User | Rev | Content |
---|---|---|---|
1 | ratnik | 1.1 | |
2 | ### RPM external apache-ant 1.6.5 | ||
3 | ratnik | 1.3 | Requires: gcc-wrapper |
4 | ratnik | 1.2 | ## INITENV SET ANT_HOME %{i} |
5 | ratnik | 1.1 | Requires: java-jdk python |
6 | Source: http://apache.ziply.com/ant/binaries/%{n}-%{v}-bin.tar.gz | ||
7 | |||
8 | %prep | ||
9 | %setup -n %{n}-%{v} | ||
10 | |||
11 | # replace python calls throuhout the sources | ||
12 | perl -p -i -e "s|#!/usr/bin/python|#!/usr/bin/env python|" $(find .) | ||
13 | %build | ||
14 | ratnik | 1.3 | ## IMPORT gcc-wrapper |
15 | ratnik | 1.1 | %install |
16 | tar -cf - . | tar -C %i -xvvf - |