|
|

楼主 |
发表于 2008-5-13 19:41:40
|
显示全部楼层
Post by zhllg;1849051
恐怕你还是需要在ebuild里写上SRC_URI
SRC_URI="http://abc.org/${P}.tar.bz2"
用这个试试
谢谢,加了这个后,果然有用
疑问:SRC_URI不是指示下载地址吗?
localhost dmlist # cat dmlist-0.1.ebuild
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="get the rstp of movies on school library"
HOMEPAGE=""
SRC_URI="http://abc.org/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="doc"
DEPEND=""
RDEPEND=""
#FILESDIR=/usr/portage/local/myebuilds/app-portage/dmlist/files
#src_unpack()
#{
#cp ${FILESDIR}/dmlist.gz ${S}
#gzip -d ${S}/dmlist.gz||die "unzip failed"
#}
src_install()
{
dosbin dmlist||die "install failed"
if use doc;then
dodoc readme|| die "install doc failed"
fi
} |
|