寫live ebuild
时间:2009-10-02
来源:互联网
我修改了latexsuite的ebuild讓它用repository裡比較新的code:
都已經把SRC_URI那行commet掉了。為甚麼跑manifest的時候ebuild要去fetch不存在的latexsuite-9999.tar.bz2?
[修改]似乎要SRC_URI=""才行。
代码:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/latexsuite/latexsuite-9999.ebuild,v 1.9 2008/09/12 22:23:44 maekke Exp $
inherit vim-plugin versionator subversion distutils
DESCRIPTION="vim plugin: a comprehensive set of tools to view, edit and compile LaTeX documents"
HOMEPAGE="http://vim-latex.sourceforge.net/"
ESVN_REPO_URI="https://vim-latex.svn.sourceforge.net/svnroot/vim-latex/trunk/vim-latex/"
ESVN_PROJECT="latexsuite"
LICENSE="vim"
KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86"
IUSE=""
# See bug #112326 for why we have this nasty hack
#MY_P="latexSuite$(get_version_component_range 3- )"
#S="${WORKDIR}"
#SRC_URI="http://vim-latex.sourceforge.net/download/${MY_P}.tar.gz"
RDEPEND="virtual/latex-base"
VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
src_unpack() {
einfo ${SRC_URI}
subversion_src_unpack
}
src_install() {
into /usr
dobin ltags
rm ltags
vim-plugin_src_install
}
pkg_postinst() {
vim-plugin_pkg_postinst
elog
elog "To use the latexSuite plugin add:"
elog " filetype plugin on"
elog ' set grepprg=grep\ -nH\ $*'
elog "to your ~/.vimrc-file"
elog
}
[修改]似乎要SRC_URI=""才行。
作者: mathfeel 发布时间: 2009-10-02
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28















