ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pcre-toolfile.spec
(Generate patch)

Comparing COMP/CMSDIST/pcre-toolfile.spec (file contents):
Revision 1.1 by eulisse, Tue Jun 27 13:14:22 2006 UTC vs.
Revision 1.3 by muzaffar, Tue Aug 10 14:20:18 2010 UTC

# Line 1 | Line 1
1 < ### RPM configuration pcre-toolfile 4.4
2 < ## IMPORT scramtoolbox-common
3 <
4 < Source: none
1 > ### RPM external pcre-toolfile 1.0
2   Requires: pcre
3 + %prep
4  
5   %build
8 %install
9 mkdir -p %toolConfDir %toolBoxDir/General
6  
7 < cat << \EOF_pcre_TOOLCONF_FRAGMENT > %toolConfDir/pcre.conf
12 < TOOL:pcre
13 <   +PCRE_BASE:${PCRE_ROOT}
14 <   +PATH:${PCRE_ROOT}/bin
15 <   +LIBDIR:${PCRE_ROOT}/lib
16 <   +INCLUDE:${PCRE_ROOT}/include
17 < EOF_pcre_TOOLCONF_FRAGMENT
7 > %install
8  
9 < cat << \EOF_pcre_TOOLFILE > %toolBoxDir/General/pcre
10 < <doc type=BuildSystem::ToolDoc version=1.0>
11 < <tool name=%toolname version=%v>
12 < <info url="http://www.pcre.org"></info>
13 < <architecture name=macosx>
14 < <lib name=pcre>
15 < </architecture>
16 < <architecture name=osx>
17 < <lib name=pcre>
18 < </architecture>
29 < <architecture name=sl>
30 < <lib name=pcre>
31 < </architecture>
32 < <architecture name=win>
33 < <lib name=libpcre>
34 < </architecture>
35 < <client>
36 < <environment name=PCRE_BASE>
37 < The top of the PCRE distribution.
38 < </environment>
39 < <environment name=LIBDIR default="$PCRE_BASE/lib" type=lib></environment>
40 < <environment name=INCLUDE default="$PCRE_BASE/include"></environment>
41 < <environment name=BINDIR default="$PCRE_BASE/bin"></environment>
42 < </client>
43 < <environment name=LD_LIBRARY_PATH value="$LIBDIR" type=Runtime_path></environment>
44 < <architecture name=win>
45 < <environment name=PATH value="$BINDIR" type=Runtime_path></environment>
46 < </architecture>
9 > mkdir -p %i/etc/scram.d
10 > cat << \EOF_TOOLFILE >%i/etc/scram.d/pcre.xml
11 > <tool name="pcre" version="@TOOL_VERSION@">
12 >  <info url="http://www.pcre.org"/>
13 >  <lib name="pcre"/>
14 >  <client>
15 >    <environment name="PCRE_BASE" default="@TOOL_ROOT@"/>
16 >    <environment name="LIBDIR" default="$PCRE_BASE/lib"/>
17 >    <environment name="INCLUDE" default="$PCRE_BASE/include"/>
18 >  </client>
19   </tool>
20 < EOF_pcre_TOOLFILE
21 < %files
22 < %toolBoxDir/General/pcre
51 < %toolConfDir/pcre.conf
20 > EOF_TOOLFILE
21 >
22 > ## IMPORT scram-tools-post

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines