From 6837759da1b11aec18bf69ad57fb0bd337234bb7 Mon Sep 17 00:00:00 2001 From: Harald van Dijk Date: Mon, 28 Dec 2009 19:38:45 +0000 Subject: New package, ebuild based on Kevin Fullerton's (#185954) (Portage version: 2.2_rc61/cvs/Linux x86_64) --- x11-apps/xkbset/ChangeLog | 10 +++++++ x11-apps/xkbset/files/xkbset-0.5-ldflags.patch | 11 ++++++++ x11-apps/xkbset/metadata.xml | 9 +++++++ x11-apps/xkbset/xkbset-0.5.ebuild | 36 ++++++++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 x11-apps/xkbset/ChangeLog create mode 100644 x11-apps/xkbset/files/xkbset-0.5-ldflags.patch create mode 100644 x11-apps/xkbset/metadata.xml create mode 100644 x11-apps/xkbset/xkbset-0.5.ebuild (limited to 'x11-apps') diff --git a/x11-apps/xkbset/ChangeLog b/x11-apps/xkbset/ChangeLog new file mode 100644 index 000000000000..811a5bef90e5 --- /dev/null +++ b/x11-apps/xkbset/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-apps/xkbset +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xkbset/ChangeLog,v 1.1 2009/12/28 19:38:44 truedfx Exp $ + +*xkbset-0.5 (28 Dec 2009) + + 28 Dec 2009; Harald van Dijk +xkbset-0.5.ebuild, + +files/xkbset-0.5-ldflags.patch, +metadata.xml: + New package, ebuild based on Kevin Fullerton's (#185954) + diff --git a/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch b/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch new file mode 100644 index 000000000000..69dda8739d75 --- /dev/null +++ b/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch @@ -0,0 +1,11 @@ +--- xkbset-0.5/Makefile ++++ xkbset-0.5/Makefile +@@ -11,7 +11,7 @@ + all: xkbset xkbset.1 + + xkbset: getargs.o print.o usage.o main.o misc.o +- ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS} ++ ${CC} ${CFLAGS} ${LDFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS} + + getargs.o: getargs.c xkbset.h + ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} -c getargs.c diff --git a/x11-apps/xkbset/metadata.xml b/x11-apps/xkbset/metadata.xml new file mode 100644 index 000000000000..c66b7883ddfe --- /dev/null +++ b/x11-apps/xkbset/metadata.xml @@ -0,0 +1,9 @@ + + + +no-herd + +truedfx@gentoo.org +Harald van Dijk + + diff --git a/x11-apps/xkbset/xkbset-0.5.ebuild b/x11-apps/xkbset/xkbset-0.5.ebuild new file mode 100644 index 000000000000..c88185546274 --- /dev/null +++ b/x11-apps/xkbset/xkbset-0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xkbset/xkbset-0.5.ebuild,v 1.1 2009/12/28 19:38:44 truedfx Exp $ + +inherit base + +DESCRIPTION="Manage xkb features such as MouseKeys, AccessX, StickyKeys, BounceKeys and SlowKeys" +HOMEPAGE="http://www.math.missouri.edu/~stephen/software/" +SRC_URI="http://www.math.missouri.edu/~stephen/software/xkbset/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tk" + +CDEPEND="x11-libs/libX11" +DEPEND="${CDEPEND} + dev-lang/perl" +RDEPEND="${CDEPEND} + tk? ( dev-lang/perl + dev-perl/perl-tk )" + +PATCHES=( + "${FILESDIR}"/${P}-ldflags.patch +) + +src_compile() { + emake INC_PATH= LIB_PATH= || die +} + +src_install() { + dobin xkbset + use tk && dobin xkbset-gui + doman xkbset.1 + dodoc README TODO +} -- cgit v1.2.3-65-gdbad