From efdfb1e8e25ae33e313f4071b9e7032c6d7463b2 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 27 Feb 2016 18:34:36 +0100 Subject: [PATCH] dev-tcl/tktable: initial import of version 2.10 --- metadata/categories.conf | 1 + .../dev-tcl/tktable/tktable-2.10.exheres-0 | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 packages/dev-tcl/tktable/tktable-2.10.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index f18cb615..a7cc3a1c 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -7,6 +7,7 @@ dev-games dev-libs dev-perl dev-python +dev-tcl dev-util games-action games-arcade diff --git a/packages/dev-tcl/tktable/tktable-2.10.exheres-0 b/packages/dev-tcl/tktable/tktable-2.10.exheres-0 new file mode 100644 index 00000000..e56c4d9e --- /dev/null +++ b/packages/dev-tcl/tktable/tktable-2.10.exheres-0 @@ -0,0 +1,38 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +MY_PNV="Tktable${PV}" + +SUMMARY="Full-featured 2D table widget" +HOMEPAGE="http://tktable.sourceforge.net/" +DOWNLOADS="mirror://sourceforge/tktable/${MY_PNV}.tar.gz" + +LICENCES="BSD-3" +PLATFORMS="~amd64 ~x86" +SLOT="0" +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + dev-lang/tk[>=8.0] +" + +WORK=${WORKBASE}/${MY_PNV} + +DEFAULT_SRC_CONFIGURE_PARAMS=( + --hates=datarootdir + --hates=docdir +) + +src_prepare() { + edo sed -i \ + -e '/^install:/{s: install-doc::}' \ + -e '/^PKG_EXTRA_FILES/{s:=.*:=:}' \ + Makefile.in +} + +src_install() { + default + edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/bin +} +