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: 17-Feb-2006 20:37:55 Branch: HEAD Handle: 2006021719375400 Modified files: openpkg-src/lua lua.spec Log: upgrading package: lua 5.0.2 -> 5.1 Summary: Revision Changes Path 1.13 +24 -22 openpkg-src/lua/lua.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/lua/lua.spec ============================================================================ $ cvs diff -u -r1.12 -r1.13 lua.spec --- openpkg-src/lua/lua.spec 1 Jan 2006 13:16:18 -0000 1.12 +++ openpkg-src/lua/lua.spec 17 Feb 2006 19:37:54 -0000 1.13 @@ -32,8 +32,8 @@ Class: PLUS Group: Language License: MIT -Version: 5.0.2 -Release: 20040304 +Version: 5.1 +Release: 20060217 # list of sources Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz @@ -47,14 +47,14 @@ AutoReqProv: no %description - Lua is a powerful light-weight programming language designed - for extending applications. Lua is also frequently used as a - general-purpose, stand-alone language. Lua is free software. Lua - combines simple procedural syntax with powerful data description - constructs based on associative arrays and extensible semantics. Lua - is dynamically typed, interpreted from bytecodes, and has automatic - memory management with garbage collection, making it ideal for - configuration, scripting, and rapid prototyping. + Lua is a powerful light-weight programming language designed + for extending applications. Lua is also frequently used as a + general-purpose, stand-alone language. Lua is free software. Lua + combines simple procedural syntax with powerful data description + constructs based on associative arrays and extensible semantics. Lua + is dynamically typed, interpreted from bytecodes, and has automatic + memory management with garbage collection, making it ideal for + configuration, scripting, and rapid prototyping. %track prog lua = { @@ -67,21 +67,23 @@ %setup -q %build - ( echo "CC=%{l_cc}" - echo "MYCFLAGS=%{l_cflags -O}" - echo "INSTALL_ROOT=%{l_prefix}" - echo "INSTALL_INC=\$(INSTALL_ROOT)/include/lua" - echo "POPEN=-DUSE_POPEN=1" - echo "LOADLIB=-DUSE_DLOPEN=1" - case "%{l_platform -t}" in - *-linux* ) echo "DLLIB=-ldl" ;; - esac - ) >>config - %{l_make} %{l_mflags -O} + platform="posix" + case "%{l_platform -t}" in + *-linux* ) platform="linux" ;; + *-freebsd* ) platform="bsd" ;; + *-sunos* ) platform="solaris" ;; + esac + %{l_make} %{l_mflags -O} \ + CC="%{l_cc}" \ + MYCFLAGS="%{l_cflags -O}" \ + INSTALL_TOP="%{l_prefix}" \ + INSTALL_INC="\$(INSTALL_ROOT)/include/lua" \ + $platform %install rm -rf $RPM_BUILD_ROOT - %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT%{l_prefix} + %{l_make} %{l_mflags} install \ + INSTALL_TOP=$RPM_BUILD_ROOT%{l_prefix} strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/share/lua @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org