LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 543|回复: 0

寫live ebuild

[复制链接]
发表于 2009-10-2 12:47:52 | 显示全部楼层 |阅读模式
我修改了latexsuite的ebuild讓它用repository裡比較新的code:
  1. # Copyright 1999-2008 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/app-vim/latexsuite/latexsuite-9999.ebuild,v 1.9 2008/09/12 22:23:44 maekke Exp $
  4. inherit vim-plugin versionator subversion distutils
  5. DESCRIPTION="vim plugin: a comprehensive set of tools to view, edit and compile LaTeX documents"
  6. HOMEPAGE="http://vim-latex.sourceforge.net/"
  7. ESVN_REPO_URI="https://vim-latex.svn.sourceforge.net/svnroot/vim-latex/trunk/vim-latex/"
  8. ESVN_PROJECT="latexsuite"
  9. LICENSE="vim"
  10. KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86"
  11. IUSE=""
  12. # See bug #112326 for why we have this nasty hack
  13. #MY_P="latexSuite$(get_version_component_range 3- )"
  14. #S="${WORKDIR}"
  15. #SRC_URI="http://vim-latex.sourceforge.net/download/${MY_P}.tar.gz"
  16. RDEPEND="virtual/latex-base"
  17. VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
  18. src_unpack() {
  19.     einfo ${SRC_URI}
  20.     subversion_src_unpack
  21. }
  22. src_install() {
  23.     into /usr
  24.     dobin ltags
  25.     rm ltags
  26.     vim-plugin_src_install
  27. }
  28. pkg_postinst() {
  29.     vim-plugin_pkg_postinst
  30.     elog
  31.     elog "To use the latexSuite plugin add:"
  32.     elog "   filetype plugin on"
  33.     elog '   set grepprg=grep\ -nH\ $*'
  34.     elog "to your ~/.vimrc-file"
  35.     elog
  36. }
复制代码

都已經把SRC_URI那行commet掉了。為甚麼跑manifest的時候ebuild要去fetch不存在的latexsuite-9999.tar.bz2?

[修改]似乎要SRC_URI=""才行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表