显示标签为“ebuild”的博文。显示所有博文
显示标签为“ebuild”的博文。显示所有博文

星期日, 七月 06, 2008

bmpanel-9999.ebuild


# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bmpanel/bmpanel-9999.ebuild,v 1.10 2008/05/21 22:43:41 uberlord Exp $

inherit git
EGIT_REPO_URI="git://github.com/nsf/bmpanel.git"

DESCRIPTION="A themeable reincarnation of fspanel"
HOMEPAGE="http://nsf.110mb.com/bmpanel/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="strip mirror"

RDEPEND="media-libs/imlib2
>=media-libs/freetype-2.1.10-r3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x11-proto/xproto
media-libs/fontconfig"
src_unpack() {
git_src_unpack
}

src_compile() {
# econf || die "configure failed"
./configure || die "configure failed"
# emake || die "compile failed"
emake || die "compile failed"
}

src_install () {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README

}

Read More...

qtm-0.6.3.ebuild


# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/qtm/qtm-0.6.3.ebuild,v 1.10 2008/04/14 22:43:41 uberlord Exp $

DESCRIPTION="A blogging client which is presently capable of composing, formatting and submitting blog entries to a weblog"
HOMEPAGE="http://qtm.blogistan.co.uk"
SRC_URI="http://prdownloads.sourceforge.net/catkin/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="strip mirror"

RDEPEND=">=x11-libs/qt-4.2
>=dev-util/cmake-2.4.3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/scons
x11-proto/xproto"

src_unpack() {
unpack ${A}
}

src_compile() {
cmake -D USE_STI:BOOL=TRUE .
emake || die "compile failed"
}

src_install () {
make DESTDIR="${D}" install || die "Installation failed"
dodoc README
}

Read More...

星期五, 四月 18, 2008

尝鲜bmpanel,ebuild学习处女作

突然之间发现bmpanel这个好东东,发现gentoo还没有,于是试着写了个,准确的说应该是改了个,呵呵

在自己的系统上基本没有问题,今天拿出来,有兴趣的同学们可以试试
btw:还请zhllg帮看看有什么需要完善的,自己也是头一次试着写,有很多还不知道,

bmpanel-0.9.14.ebuild
代码:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bmpanel/bmpanel-0.9.14.ebuild,v 1.10 2008/04/14 22:43:41 uberlord Exp $

DESCRIPTION="A themeable reincarnation of fspanel"
HOMEPAGE="http://nsf.110mb.com/bmpanel/"
SRC_URI="http://nsf.110mb.com/bmpanel/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="strip mirror"

RDEPEND="dev-libs/libev
media-libs/imlib2
>=media-libs/freetype-2.1.10-r3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/scons
x11-proto/xproto"

src_unpack() {
unpack ${A}
}

src_compile() {
scons || die "scons failed"
}

src_install () {
dodir /usr/bin
scons prefix="${D}/usr" install || die "scons install died"
}
这个是上面那个的依赖包
昨天在irc上也问了,后来发现这个和libevent有些关系,但是还不是一个包,gentoo下没有这个包,于是把这个也试着写了
libev-3.2.ebuild
代码:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libev/libev-3.2.ebuild,v 1.3 2008/04/14 22:44:38 uberlord Exp $

inherit multilib eutils

DESCRIPTION="A full-featured and high-performance event loop"
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"

DEPEND=""
RDEPEND="${DEPEND}"

src_unpack() {
unpack ${A}
cd "${S}"
}

src_compile() {
econf \
--prefix=/usr || die "configure failed"
emake || die "emake failed"
}

src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc ChangeLog VERSION README
}
现在有一个问题比较郁闷,那就是在emerge bmpanel的时候
到了sandbox那里有这个错误
代码:
ACCESS DENIED unlink: /usr/bin/bmpanel
scons: *** [/usr/bin/bmpanel] /usr/bin/bmpanel: Permission denied
没办法非得 FEATURES="-sandbox" emerge -av bmpanel
才过得去,使用倒是没问题,想问问zhllg关于sandbox这里ebuild该怎么修改呢?
另外,bmpanel-0.9.14.tar.gz这个包好像在我这里下载不到,最后非得tor才把他下来,一起放在这里兄弟们就不用去http://nsf.110mb.com/bmpanel下载了
点击图片以查看大图  名称: panel.png 查看次数: 45 文件大小: 7.1 KB ID: 47155

Read More...