|
|
我试着为app-text/foxitreader-1.0-1编写了一个ebuild练练手,可是编写的ebuild怎么也无法通过digest。一直提示!!! app-text/foxitreader-1.0-1 does not follow correct package syntax.
我刚刚开始编写ebuild,对它了解不多,请大家帮忙检查。
- # Copyright 1999-2009 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- # a testing ebuild for foxitreader by hjhee@163.com
- DESCRIPTION="Foxit PDF Reader"
- HOMEPAGE="http://www.foxitsoftware.com/pdf/desklinux/"
- SRC_URI="http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/1.0/enu/FoxitReader-1.0-1.i386.tar.bz2"
- LICENSE="Foxit Reader"
- SLOT="0"
- KEYWORDS="~x86"
- IUSE="cups"
- DEPEND=""
- RDEPEND="media-libs/freetype
- media-libs/libpng
- x11-base/xorg-x11
- media-libs/jpeg
- sys-libs/zlib
- media-libs/lcms
- cups? ( net-print/cups )
- x86? ( >=x11-libs/gtk+-2.0 )"
- S="${WORKDIR}/${PN}"
- src_unpack() {
- unpack ${A} || die "unpack ${A} failed"
- }
- src_install() {
- dodir ${D}/opt/${PN}
- mv ${S}/* ${D}/opt/${PN}
- dodoc Readme.txt
- }
- pkg_postinst () {
- einfo "this a testing ebuild"
- }
复制代码 |
|