diff --git a/metadata/categories.conf b/metadata/categories.conf index f18cb61..a7cc3a1 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 0000000..e56c4d9 --- /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 +} +