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

Bug 3317

Summary: xpad-1.1.ebuild (New Package)
Product: Gentoo Linux Reporter: Michael Terry <mterry>
Component: New packagesAssignee: Gabriele Giorgetti <gabriele_giorgetti>
Status: RESOLVED FIXED    
Severity: enhancement CC: mterry
Priority: High    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: First draft

Description Michael Terry 2002-06-02 00:29:13 UTC
Hello.  This is my first ebuild, so I'd appreciate feedback.  Attached and
below, you will find an ebuild for the program xpad.  xpad is a GTK+2 based
sticky note program in which you write notes to yourself or what-have-you.  I
guess x11-libs/xpad is good.

------------------------------

DESCRIPTION="A GTK+ 2.0 based 'post-it' note system."

HOMEPAGE="http://xpad.sourceforge.net/"

LICENSE="GPL-2"

DEPEND="virtual/glibc
	>=x11-libs/gtk+-2.0.0"

SRC_URI="http://unc.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"

S=${WORKDIR}/${P}

src_compile() {
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}
Comment 1 Michael Terry 2002-06-02 00:30:16 UTC
Created attachment 1297 [details]
First draft

First run at ebuild.
Comment 2 Michael Terry 2002-06-02 00:30:50 UTC
Whoops.  I meant x11-misc/xpad seems good.
Comment 3 Gabriele Giorgetti 2002-06-02 08:44:57 UTC
Hi, this is not bad as first ebuild. Btw remember to always check with lintool
( emerge gentoolkit ) your ebuilds before submitting them.

Check the ebuild in /usr/portage/x11-misc/xpad/ to see the modifications.

Committed.

- stroke
Comment 4 Michael Terry 2002-06-02 09:36:56 UTC
Looks good, thanks.  Just one minor problem:  the ebuild tries to "dodoc TO-DO"
where it should be "dodoc TODO".
Comment 5 Gabriele Giorgetti 2002-06-02 09:47:46 UTC
Corrected and committed. Thank you.

- stroke