diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-06-14 02:03:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-06-14 02:03:45 +0000 |
commit | d44c5a25c1f18027212b2f5f5b0d7698fd0d8350 (patch) | |
tree | 1a2b2e7c39f7d62e1f275d19359d04ee8ea32431 /x11-misc/xnots | |
parent | Version bump. (diff) | |
download | gentoo-2-d44c5a25c1f18027212b2f5f5b0d7698fd0d8350.tar.gz gentoo-2-d44c5a25c1f18027212b2f5f5b0d7698fd0d8350.tar.bz2 gentoo-2-d44c5a25c1f18027212b2f5f5b0d7698fd0d8350.zip |
Do not install LICENCE[sic], install docs in proper directory. Respect CC. Remove pointless kernel config check/warning.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc/xnots')
-rw-r--r-- | x11-misc/xnots/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xnots/xnots-0.2.1-r1.ebuild | 48 |
2 files changed, 56 insertions, 2 deletions
diff --git a/x11-misc/xnots/ChangeLog b/x11-misc/xnots/ChangeLog index 7271fc758c87..15526de239c7 100644 --- a/x11-misc/xnots/ChangeLog +++ b/x11-misc/xnots/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xnots -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnots/ChangeLog,v 1.12 2012/12/16 14:22:04 pacho Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnots/ChangeLog,v 1.13 2014/06/14 02:03:45 jer Exp $ + +*xnots-0.2.1-r1 (14 Jun 2014) + + 14 Jun 2014; Jeroen Roovers <jer@gentoo.org> +xnots-0.2.1-r1.ebuild: + Do not install LICENCE[sic], install docs in proper directory. Respect CC. + Remove pointless kernel config check/warning. 16 Dec 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml: Cleanup due retirement, #95685 diff --git a/x11-misc/xnots/xnots-0.2.1-r1.ebuild b/x11-misc/xnots/xnots-0.2.1-r1.ebuild new file mode 100644 index 000000000000..f7c8553b7fee --- /dev/null +++ b/x11-misc/xnots/xnots-0.2.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnots/xnots-0.2.1-r1.ebuild,v 1.1 2014/06/14 02:03:45 jer Exp $ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A desktop sticky note program for the unix geek" +HOMEPAGE="http://xnots.sourceforge.net" +SRC_URI="mirror://sourceforge/xnots/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vim-syntax" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXrandr + x11-libs/pango[X]" + +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/renderproto + x11-proto/randrproto" + +src_prepare() { + sed -i -e 's|LICENCE||g' Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" NO_DEBUG=1 +} + +src_install() { + emake \ + DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + mandir=/usr/share/man \ + prefix=/usr \ + install + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins etc/xnots.vim + fi +} |