OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Aug-2008 09:03:01
  Branch: HEAD                             Handle: 2008080508030000

  Modified files:
    openpkg-src/lua-regex   lua-regex.spec

  Log:
    upgrading package: lua-regex 2.3.0 -> 2.4.0

  Summary:
    Revision    Changes     Path
    1.3         +17 -14     openpkg-src/lua-regex/lua-regex.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lua-regex/lua-regex.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 lua-regex.spec
  --- openpkg-src/lua-regex/lua-regex.spec      8 Jun 2008 17:40:20 -0000       
1.2
  +++ openpkg-src/lua-regex/lua-regex.spec      5 Aug 2008 07:03:00 -0000       
1.3
  @@ -23,8 +23,8 @@
   
   #   package version
   %define       V_lua    5.1
  -%define       V_rexlib 2.3.0
  -%define       V_subdir 3439
  +%define       V_rexlib 2.4.0
  +%define       V_subdir 3599
   
   #   package information
   Name:         lua-regex
  @@ -37,7 +37,7 @@
   Group:        Language
   License:      MIT
   Version:      %{V_rexlib}
  -Release:      20080608
  +Release:      20080805
   
   #   list of sources
   Source0:      
http://luaforge.net/frs/download.php/%{V_subdir}/lrexlib-%{V_rexlib}.zip
  @@ -73,15 +73,18 @@
       unzip -q -x %{SOURCE0}
   
   %build
  -    cd lrexlib-*/src
  -    %{l_make} %{l_mflags} -f rex_pcre.mak \
  -        CC="%{l_cc} %{l_cflags -O}" \
  -        INC_LUA="%{l_cppflags lua .}" \
  -        LIB_LUA="%{l_ldflags} -llua"
  -    %{l_make} %{l_mflags} -f rex_posix.mak \
  -        CC="%{l_cc} %{l_cflags -O}" \
  -        INC_LUA="%{l_cppflags lua .}" \
  -        LIB_LUA="%{l_ldflags} -llua"
  +    (   cd lrexlib-*/src/pcre
  +        %{l_make} %{l_mflags} -f rex_pcre.mak \
  +            CC="%{l_cc} %{l_cflags -O}" \
  +            INC_LUA="%{l_cppflags lua .}" \
  +            LIB_LUA="%{l_ldflags} -llua"
  +    ) || exit $?
  +    (   cd lrexlib-*/src/posix
  +        %{l_make} %{l_mflags} -f rex_posix.mak \
  +            CC="%{l_cc} %{l_cflags -O}" \
  +            INC_LUA="%{l_cppflags lua .}" \
  +            LIB_LUA="%{l_ldflags} -llua"
  +    ) || exit $?
   
   %install
       rm -rf $RPM_BUILD_ROOT
  @@ -89,9 +92,9 @@
           $RPM_BUILD_ROOT%{l_prefix}/lib/lua/%{V_lua} \
           $RPM_BUILD_ROOT%{l_prefix}/share/lua/doc/regex
       %{l_shtool} install -c -m 644 \
  -        lrexlib-*/src/rex_pcre.so.* 
$RPM_BUILD_ROOT%{l_prefix}/lib/lua/%{V_lua}/rex_pcre.so
  +        lrexlib-*/src/pcre/rex_pcre.so.* 
$RPM_BUILD_ROOT%{l_prefix}/lib/lua/%{V_lua}/rex_pcre.so
       %{l_shtool} install -c -m 644 \
  -        lrexlib-*/src/rex_posix.so.* 
$RPM_BUILD_ROOT%{l_prefix}/lib/lua/%{V_lua}/rex_posix.so
  +        lrexlib-*/src/posix/rex_posix.so.* 
$RPM_BUILD_ROOT%{l_prefix}/lib/lua/%{V_lua}/rex_posix.so
       %{l_shtool} install -c -m 644 \
           lrexlib-*/doc/* $RPM_BUILD_ROOT%{l_prefix}/share/lua/doc/regex/
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to