OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 20-Sep-2004 10:45:30 Branch: HEAD Handle: 2004092009453000 Modified files: openpkg-src/emacs emacs.spec Log: add optional support for 'leim' Summary: Revision Changes Path 1.48 +16 -1 openpkg-src/emacs/emacs.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/emacs/emacs.spec ============================================================================ $ cvs diff -u -r1.47 -r1.48 emacs.spec --- openpkg-src/emacs/emacs.spec 16 Sep 2004 12:30:13 -0000 1.47 +++ openpkg-src/emacs/emacs.spec 20 Sep 2004 08:45:30 -0000 1.48 @@ -34,7 +34,7 @@ Group: Editor License: GPL Version: 21.3 -Release: 20040916 +Release: 20040920 # package options %option with_x11 no @@ -43,6 +43,7 @@ %option with_png no %option with_tiff no %option with_gif no +%option with_leim no # package option dependencies %if "%{with_jpeg}" == "yes" || "%{with_png}" == "yes" || "%{with_tiff}" == "yes" || "%{with_gif}" == "yes" @@ -52,6 +53,7 @@ # list of sources Source0: ftp://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.gz +Source1: ftp://ftp.gnu.org/gnu/emacs/leim-%{version}.tar.gz Patch0: emacs.patch # build information @@ -95,9 +97,17 @@ url = ftp://ftp.gnu.org/gnu/emacs/ regex = emacs-(__VER__)\.tar\.gz } + prog emacs:leim = { + version = %{version} + url = ftp://ftp.gnu.org/gnu/emacs/ + regex = leim-(__VER__)\.tar\.gz + } %prep %setup -q +%if "%{with_leim}" == "yes" + %setup -q -T -D -b 1 +%endif %patch -p0 %build @@ -111,6 +121,11 @@ -e 's;/${version};;g' \ -e 's;/${configuration};;g' \ configure +%if "%{with_leim}" == "yes" + %{l_shtool} subst \ + -e 's;/${version}/;/;g' \ + leim/Makefile.in +%endif CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ %if "%{with_tiff}" == "yes" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]