summaryrefslogtreecommitdiff
path: root/app-misc/delay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/delay
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/delay')
-rw-r--r--app-misc/delay/Manifest7
-rw-r--r--app-misc/delay/delay-1.6-r2.ebuild30
-rw-r--r--app-misc/delay/files/delay-1.6-headers.patch10
-rw-r--r--app-misc/delay/files/delay-1.6-tinfo.patch16
-rw-r--r--app-misc/delay/metadata.xml8
5 files changed, 71 insertions, 0 deletions
diff --git a/app-misc/delay/Manifest b/app-misc/delay/Manifest
new file mode 100644
index 000000000000..f894849f9ea3
--- /dev/null
+++ b/app-misc/delay/Manifest
@@ -0,0 +1,7 @@
+AUX delay-1.6-headers.patch 156 SHA256 b5636d9652c488c573e5e53cf66efb7cf191b95cfc5e9e608d6992e795426e09 SHA512 5482c96f6c2f9ce5f0183751d36360a22b3bfc7e29c23ba13022e51f0f2569b77014be4544c95e7b76cb3947118b36ae5dd94afb26c1951bc7f4b0746d120ac1 WHIRLPOOL 5ea4ed98bf328fd0e9c22883410046ebe260ce0b98352b6bc490b8777ad04f3bb63692d42c554fe60e341a327aa3b4474bc2312a1c91bc01a7f2d2daddcc2b43
+AUX delay-1.6-tinfo.patch 352 SHA256 cc55dd42383c6de72c246f9154258a76a531bbff0200a9adfbff262c91b5b465 SHA512 462e098e1a03ad1743fc758ca7ffabaeea07c430c24e5db6daffb786494176f91b1e6d99a34e867237ecd97fa4be8def415a14db6c53c9ea7b6ab4af3cf600a2 WHIRLPOOL a5aba228096b2bda3a4855e9f7517e27a5bfa5fb75db30919049ad7a03031c700b7a5065e59784a83552f2760eb252c6a5e60743315d565537c2359381d6ba38
+DIST delay-1.6.tar.gz 69860 SHA256 3097a25fc0d0091402fc9dbc6aa395fd5141028bcdc99baa5d3438ca04f78ca2 SHA512 45d34b768082ff2e4a73f1af63239f6b9e418f1cb46e5945606c0e8830ba2b8c14eeb21d7e0776ef669d2834ed6dcc66c3ddb0225c182c77e85b18b5b28d5d43 WHIRLPOOL 836b7baafc377a2a53df1507ed5da667b30d7551393a77be729ff2ecf89ce6792b818d14807a7f76034046b22daf7ca8e441348832ada85809ebc6c14df7f16b
+EBUILD delay-1.6-r2.ebuild 673 SHA256 05a7a5ab08812417163a214c19bd4586458fe84f2976b1e3c6ccc9c947f9b6e1 SHA512 e6b6793e62416615f02e0d5759626babbaf0bc9d5d472dcd4cdbbe8bf0d0c65ca078743ee1223997541302d5e279079bde17723c08654e2e26a370aaa85a3560 WHIRLPOOL d4f8ed645a298dec64059b835233b0b9ad49f0e1c6fd15dff0681e4387a4c6d389163628a7faaa853db015b20d1cd62ec656769267c0d876820c279aaf940921
+MISC ChangeLog 2485 SHA256 c45bada00178eeb7c04466f73d795799b53a1cf4a8023b0dd0ceba057259fbdc SHA512 13cdd33b74394f6c43feec971721bf95a0f191f655caa250afc728b93d5b0795f687e0b198b0ed89e510dbebc7608a4c86147fc2cbe2f0751f7cc7d71eb37ff9 WHIRLPOOL 26660e5be80b916ef1712aa2cd366365d7912e518bacf0b54ba57eb0277772c88f50e67cfb06537c66ea3843ec5e4db7826ced7ed0e90b7b7eb48474bf93dd07
+MISC ChangeLog-2015 4274 SHA256 69f93349d4e5c7429873409c46d8ece471f88705b4584171ca83c3c7d3cde15d SHA512 de8e0bb650a3f63a021f13112659fab67538a0b2cac96b7bb1e291b8c1065da4abc571246692a220bdffa1e9753516bd0f8025f9f152e0db770c9a8fd10295d5 WHIRLPOOL cb1ff7d37120c4c25a4a1db59d6280b980f5c812bfc3db797db9163b3ac9f3fd539a660df1da8b70ecbb11f62d864dd88a17c5a17fa28192799db2d01c898fc0
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/delay/delay-1.6-r2.ebuild b/app-misc/delay/delay-1.6-r2.ebuild
new file mode 100644
index 000000000000..b68aedca8b27
--- /dev/null
+++ b/app-misc/delay/delay-1.6-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Sleeplike program that counts down the number of seconds specified"
+HOMEPAGE="http://onegeek.org/~tom/software/delay/"
+SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-headers.patch \
+ "${FILESDIR}"/${P}-tinfo.patch
+
+ mv configure.in configure.ac || die
+
+ eautoreconf
+}
diff --git a/app-misc/delay/files/delay-1.6-headers.patch b/app-misc/delay/files/delay-1.6-headers.patch
new file mode 100644
index 000000000000..5098435d7652
--- /dev/null
+++ b/app-misc/delay/files/delay-1.6-headers.patch
@@ -0,0 +1,10 @@
+--- a/delay.c
++++ b/delay.c
+@@ -17,6 +17,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <time.h>
+ #include <sys/time.h>
+ #include <unistd.h>
diff --git a/app-misc/delay/files/delay-1.6-tinfo.patch b/app-misc/delay/files/delay-1.6-tinfo.patch
new file mode 100644
index 000000000000..37a7fb27cdc6
--- /dev/null
+++ b/app-misc/delay/files/delay-1.6-tinfo.patch
@@ -0,0 +1,16 @@
+--- a/configure.in
++++ b/configure.in
+@@ -35,8 +35,11 @@
+ AC_STRUCT_TM
+ AC_STRUCT_TM_GMTOFF
+
+-AC_CHECK_LIB(curses, initscr)
+-AC_CHECK_HEADERS(curses.h)
++PKG_CHECK_MODULES([ncurses],[ncurses],[
++ LIBS="$LIBS $ncurses_LIBS"
++ AC_DEFINE([HAVE_CURSES_H])
++ AC_DEFINE([HAVE_LIBCURSES])],
++ [AC_MSG_ERROR([ncurses not found])])
+
+ AC_OUTPUT(Makefile)
+
diff --git a/app-misc/delay/metadata.xml b/app-misc/delay/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/delay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>