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:   14-Oct-2007 19:54:03
  Branch: HEAD                             Handle: 2007101418540200

  Modified files:
    openpkg-src/io          io.spec

  Log:
    upgrading package: io 20070528 -> 20071010

  Summary:
    Revision    Changes     Path
    1.10        +13 -18     openpkg-src/io/io.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/io/io.spec
  ============================================================================
  $ cvs diff -u -r1.9 -r1.10 io.spec
  --- openpkg-src/io/io.spec    31 May 2007 16:07:52 -0000      1.9
  +++ openpkg-src/io/io.spec    14 Oct 2007 17:54:02 -0000      1.10
  @@ -23,8 +23,8 @@
   ##
   
   #   package version
  -%define       V_opkg 20070528
  -%define       V_dist 2007-05-28
  +%define       V_opkg 20071010
  +%define       V_dist 2007-10-10
   
   #   package information
   Name:         io
  @@ -37,7 +37,7 @@
   Group:        Language
   License:      BSD
   Version:      %{V_opkg}
  -Release:      20070531
  +Release:      20071014
   
   #   package options
   %option       with_threads no
  @@ -46,7 +46,7 @@
   %option       with_sqlite  no
   
   #   list of sources
  -Source0:      http://io.urbanape.com/release/Io-%{V_dist}.zip
  +Source0:      http://io.urbanape.com/release/Io-%{V_dist}.tar.gz
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -79,16 +79,15 @@
       prog io = {
           version   = %{V_dist}
           url       = http://www.iolanguage.com/downloads/
  -        regex     = Io-(__VER__)\.zip
  +        regex     = Io-(__VER__)\.tar\.gz
       }
   
   %prep
  -    %setup -q -T -c
  -    %{l_prefix}/bin/unzip -q -x %{SOURCE0}
  +    %setup -q -n Io-%{V_dist}
   
   %build
       #   prepare addon directory
  -    ( cd Io-%{V_dist}/addons
  +    ( cd addons
         addons=""
         addons="$addons BigNum Blowfish CGI ContinuedFraction Contracts MD5 
Random"
         addons="$addons Rational Regex SHA1 SystemCall Socket User Vector"
  @@ -109,12 +108,10 @@
         rm -rf _*
       ) || exit $?
   
  -    ( cd Io-%{V_dist}
  -      #   build program and addons
  -      %{l_make} %{l_mflags -O} \
  -          INSTALL_PREFIX=%{l_prefix} \
  -          CC="%{l_cc} %{l_cflags -O} %{l_cppflags} -L_build/lib %{l_ldflags}"
  -    ) || exit $?
  +    #   build program and addons
  +    %{l_make} %{l_mflags -O} \
  +        INSTALL_PREFIX=%{l_prefix} \
  +        CC="%{l_cc} %{l_cflags -O} %{l_cppflags} -L_build/lib %{l_ldflags}"
   
   %install
       #   install program and addons
  @@ -122,10 +119,8 @@
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/bin \
           $RPM_BUILD_ROOT%{l_prefix}/lib
  -    ( cd Io-%{V_dist}
  -      %{l_make} %{l_mflags} install \
  -          INSTALL_PREFIX=$RPM_BUILD_ROOT%{l_prefix}
  -    ) || exit $?
  +    %{l_make} %{l_mflags} install \
  +        INSTALL_PREFIX=$RPM_BUILD_ROOT%{l_prefix}
   
       #   prune addon directory tree
       find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep 
"/_build/headers" | xargs rm -rf
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to