================================ tcsh:source=6.17-1 (previous: 6.16-3) cvc rdiff tcsh -1 /weasel.rpath.org@wgl:3-devel/6.17-1 ================================ 6.17-1 Filip Brcic (brcha@xxxxxxxxxxxx) Wed Jun 2 08:04:51 2010 tcsh 6.17 tcsh-6.17.00.tar.gz: new tcsh.recipe: changed Index: tcsh.recipe ==================================================================== contents(size sha1) inode(mtime) --- tcsh.recipe /weasel.rpath.org@wgl:3-devel/6.16-3 +++ tcsh.recipe /weasel.rpath.org@wgl:3-devel/6.17-1 @@ -1,22 +1,31 @@ # -# Copyright (c) 2009 Filip Brcic <brcha@xxxxxxx> +# Copyright (c) 2009-2010 Filip Brcic <brcha@xxxxxxx> # Distributed under the terms of the GNU General Public License v3 # class Tcsh(AutoPackageRecipe): name = 'tcsh' - version = '6.16' + version = '6.17' conf_ver = '1.8' buildRequires = [ - 'ncurses:devel', 'perl:devel', + 'ncurses:devel', 'perl:devellib', 'gettext:devel', + 'autoconf-wrapper:runtime', 'autoconf25:runtime', + 'automake-wrapper:runtime', 'automake110:runtime', + 'libtool:runtime', 'libtool:devel', 'm4:runtime', ] shortDesc = 'Enhanced version of the Berkeley C shell (csh)' - longDesc = 'Enhanced version of the Berkeley C shell (csh)' + longDesc = """ +Tcsh is an enhanced, but completely compatible version of the Berkeley +UNIX C shell (csh). It is a command language interpreter usable both +as an interactive login shell and a shell script command processor. It +includes a command-line editor, programmable word completion, spelling +correction, a history mechanism, job control and a C-like syntax. +""" url = 'http://www.tcsh.org/' licenses = [ 'BSD' ] - categories = [ 'Application/Shell' ] + categories = [ 'Application/Shells' ] def unpack(r): r.macros.conf_ver = r.conf_ver @@ -29,21 +38,18 @@ r.addPatch('tcsh-6.14-makefile.patch') r.addPatch('tcsh-6.14-use-ncurses.patch') - r.Run(""" -aclocal && \ -libtoolize --copy --force --install && \ -aclocal && \ -autoconf && \ -autoheader""") - - # r.Replace('#undef NLS_CATALOGS', '#define NLS_CATALOGS', 'config_f.h') + r.Environment('WANT_AUTOMAKE', '1.10') + r.Environment('WANT_AUTOCONF', '2.5') + r.Autoreconf() + + r.Replace('#undef NLS_CATALOGS', '#define NLS_CATALOGS', + 'config_f.h', + allowNoChange=True) # unify ECHO behaviour r.Run(""" echo "#undef ECHO_STYLE" >> config_f.h echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h""") - - "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}|g" r.Replace('@GENTOO_PORTAGE_EPREFIX@', '/', '../tcsh-gentoo-patches-r%(conf_ver)s/*', @@ -61,6 +67,12 @@ """ -D_PATH_BIN="'"'"'"/bin"'"'"'" """ ) + def configure(r): + r.Configure( + ' --prefix=/' + ' --datarootdir=\'${prefix}/%(datadir)s\'' + ) + def makeinstall(r): r.MakeInstall(installtarget='install install.man') tcsh-6.16.00.tar.gz: removed Committed by: brcha