diff --git a/sys-process/ts/Manifest b/sys-process/ts/Manifest new file mode 100644 index 0000000..fa8c923 --- /dev/null +++ b/sys-process/ts/Manifest @@ -0,0 +1 @@ +DIST ts-1.0.tar.gz 65410 BLAKE2B 27c0151339587d346fff2c7cb488355859bc34b38bdccc01c4e59af38469276490db07cb474beaed4bae37c0d5403bf4e3b5d5034249d2694795606c7ae7699c SHA512 2c0f1fab12126e5c7fc7d211ca71967082f95b202b897be25c4cf0058236f911d1f1a99bdd09830e54ce6ad57db372078eb29b778fae05bc92d3f59399cb4952 diff --git a/sys-process/ts/metadata.xml b/sys-process/ts/metadata.xml new file mode 100644 index 0000000..863f85c --- /dev/null +++ b/sys-process/ts/metadata.xml @@ -0,0 +1,7 @@ + + + + + tk-gentoo@meskal.net + + diff --git a/sys-process/ts/ts-1.0.ebuild b/sys-process/ts/ts-1.0.ebuild new file mode 100644 index 0000000..85a60b9 --- /dev/null +++ b/sys-process/ts/ts-1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs + +DESCRIPTION="TaskSpooler is a comfortable way of running batch jobs" +HOMEPAGE="http://vicerveza.homeunix.net/~viric/soft/ts/" +SRC_URI="http://vicerveza.homeunix.net/~viric/soft/ts/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e 's|CFLAGS=|CFLAGS+=|' \ + -e 's|-g -O0||' \ + Makefile || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + exeinto /usr/bin + newexe ts tsp + newman ts.1 tsp.1 + dodoc Changelog OBJECTIVES PORTABILITY PROTOCOL README TRICKS + einfo "Just like on other distribution the actual binary is called tsp!" +} + +src_test() { + PATH="${D}/usr/bin:${PATH}" ./testbench.sh || die "tests failed" +}