sys-process/ts: inital commit

This commit is contained in:
layman 2018-05-21 10:28:03 +02:00
parent ff1a209d9e
commit a01016c9a4
No known key found for this signature in database
GPG key ID: E490E43F6C363F6C
3 changed files with 49 additions and 0 deletions

1
sys-process/ts/Manifest Normal file
View file

@ -0,0 +1 @@
DIST ts-1.0.tar.gz 65410 BLAKE2B 27c0151339587d346fff2c7cb488355859bc34b38bdccc01c4e59af38469276490db07cb474beaed4bae37c0d5403bf4e3b5d5034249d2694795606c7ae7699c SHA512 2c0f1fab12126e5c7fc7d211ca71967082f95b202b897be25c4cf0058236f911d1f1a99bdd09830e54ce6ad57db372078eb29b778fae05bc92d3f59399cb4952

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tk-gentoo@meskal.net</email>
</maintainer>
</pkgmetadata>

View file

@ -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"
}