|
不知道有用这个panel的不,arch的兄弟用的好想比较多,发些最近portage把bmpanel移出去了,google了一下才发些,nsf开发了bmpanel2,于是凑合弄了个来用,推荐大家也用用,呵呵- # Copyright 1999-2010 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- inherit git
- EGIT_REPO_URI="git://github.com/nsf/bmpanel2.git"
- DESCRIPTION="a lightweight, NETWM compliant panel for X11 Window System."
- HOMEPAGE="http://nsf.110mb.com/bmpanel"
- SRC_URI=""
- LICENSE="as-is"
- SLOT="0"
- KEYWORDS="~amd64 ~ppc"
- IUSE="doc"
- RDEPEND="
- dev-util/cmake
- x11-libs/pango
- x11-libs/cairo
- x11-libs/libX11
- dev-python/pygtk
- doc? ( app-text/asciidoc )"
- DEPEND="${RDEPEND}
- dev-util/pkgconfig"
- src_unpack() {
- git_src_unpack
- }
- src_compile() {
- # the provided configure script is broken.
- # it doesn't provide --disable-foo, --host etc. so we can't use econf here.
- #local myconf="--prefix=/usr --ugly"
- #use doc && myconf="${myconf} --with-doc"
- #einfo "./configure ${myconf}"
- #./configure ${myconf} || die "configure failed"
- einfo "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE ."
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . || die "cmake failed"
- }
- src_install() {
- emake install DESTDIR="${D}" || die "emake install failed"
- # INSTALL contains some useful informations
- }
复制代码 另外有个ebuild的问题想问一下
src_unpack() {
git_src_unpack
}
中 直接调用git 命令了应该,怎么给git传递参数呢,
比如我想git clone --depth=1 git://github.com/nsf/bmpanel2.git
而不是git clone git://github.com/nsf/bmpanel2.git |
|