Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 214679

Summary: cutecom-0.20.0.ebuild
Product: Gentoo Linux Reporter: GunsNRose <3444542>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description GunsNRose 2008-03-25 12:14:17 UTC
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:  $

inherit eutils qt4 cmake-utils kde-functions

DESCRIPTION="CuteCom is a serial terminal, like minicom, written in qt"
HOMEPAGE="http://cutecom.sourceforge.net"
SRC_URI="http://cutecom.sourceforge.net/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

RESTRICT="mirror"  #for local overlay

DEPEND="$(qt4_min_version 4.2)"
RDEPEND="${DEPEND}
	net-dialup/lrzsz"

src_compile() {
#if has_version x11-libs/qt-core:4; then
#	ewarn "KDE 4.0.2 doesn't work well with Qt-4.4, expect strange bugs."
#	ewarn "It is highly recommend, that you install x11-libs/qt-4.3.4,"
#	ewarn "recompile ${P} and all of its dependencies if you want"
#	ewarn "to use KDE 4.0.2."
#fi

	cmake-utils_src_compile || die "src_compile fail"
}

src_install() {
	cmake-utils_src_install 
	dobin cutecom 
	dodoc README Changelog README
	make_desktop_entry cutecom "CuteCom" openterm
}

#------------------ 一个使用第三方ebuild的示例---------------------------
#sudo mkdir /usr/local/myportage/net-dialup/cutecom/ -p
#cd /usr/local/myportage/net-dialup/cutecom/
#--------------------
#add PORTDIR_OVERLAY to /etc/make.conf
#PORTDIR_OVERLAY="/usr/local/myportage" 
#PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/portage/local/layman/gentoo-china"
#sudo sh -c "echo net-dialup/cutecom >> /etc/portage/package.keywords" #for ~x86
#sudo sh -c 'echo "net-dialup/cutecom >> /etc/portage/package.use'  #这步不用 no IUSE
#不用这一步
#sudo ebuild ./cutecom-0.20.0.ebuild digest
#sudo sh -c "emerge cutecom -av"
#cat /var/lib/portage/world | grep cutecom
#---------------------------------------------
#test for ebuild
#repoman scan
#repoman full
#---------------------------------------------
#==========联系方式==========
# mailto: 3444542@163.com
# QQ: 3444542
# gmail: zlbgps@gmail.com
# irc: irc.freenode.org/#gentoo-cn   GunsNRose
# blog: http://hi.baidu.com/3444542/blog
#============================

Reproducible: Always
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2008-04-10 19:09:13 UTC

*** This bug has been marked as a duplicate of bug 213533 ***