Revision: | 1.11 |
Committed: | Fri Nov 2 18:24:54 2007 UTC (17 years, 5 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | ge20071122-new-bootstrap, pe20071121a-ports-422, pe20071121a-ports-412, pe20071121a-ports, pe20071112c-ports-422, pe20071112c-ports-412, pe20071112c-ports, pe20071112b-ports-412, pe20071112b-ports, pe20071112a-ports, pe20071105c-ports, pe20071105b-ports, pe20071105a-ports, pe20071103e-ports, pe20071103d-ports, pe20071103c-ports, pe20071103b-ports, pe20071103a-ports, pe20071102b-ports |
Changes since 1.10: | +1 -1 lines |
Log Message: | Update to -CMS18 |
# | Content |
---|---|
1 | ### RPM external curl 7.15.3-CMS18 |
2 | Source: http://curl.haxx.se/download/%n-%realversion.tar.gz |
3 | |
4 | %prep |
5 | %setup -n %n-%{realversion} |
6 | |
7 | %build |
8 | ./configure --prefix=%i --without-libidn |
9 | make %makeprocesses |
10 | |
11 | %install |
12 | make install |
13 | # SCRAM ToolBox toolfile |
14 | mkdir -p %i/etc/scram.d |
15 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
16 | <doc type=BuildSystem::ToolDoc version=1.0> |
17 | <Tool name=Curl version=%v> |
18 | <lib name=curl> |
19 | <client> |
20 | <Environment name=CURL_BASE default="%i"></Environment> |
21 | <Environment name=INCLUDE default="$CURL_BASE/include"></Environment> |
22 | <Environment name=LIBDIR default="$CURL_BASE/lib"></Environment> |
23 | </client> |
24 | <Runtime name=PATH value="$CURL_BASE/bin" type=path> |
25 | </Tool> |
26 | EOF_TOOLFILE |
27 | |
28 | %post |
29 | %{relocateConfig}bin/curl-config |
30 | %{relocateConfig}etc/scram.d/%n |