diff options
Diffstat (limited to 'app-editors/shed')
-rw-r--r-- | app-editors/shed/Manifest | 3 | ||||
-rw-r--r-- | app-editors/shed/files/shed-1.15-cflags.patch | 11 | ||||
-rw-r--r-- | app-editors/shed/files/shed-1.15-interix.patch | 14 | ||||
-rw-r--r-- | app-editors/shed/files/shed-1.15-tinfo.patch | 12 | ||||
-rw-r--r-- | app-editors/shed/metadata.xml | 10 | ||||
-rw-r--r-- | app-editors/shed/shed-1.12.ebuild | 21 | ||||
-rw-r--r-- | app-editors/shed/shed-1.13.ebuild | 21 | ||||
-rw-r--r-- | app-editors/shed/shed-1.15.ebuild | 28 |
8 files changed, 120 insertions, 0 deletions
diff --git a/app-editors/shed/Manifest b/app-editors/shed/Manifest new file mode 100644 index 000000000000..be3380374d1d --- /dev/null +++ b/app-editors/shed/Manifest @@ -0,0 +1,3 @@ +DIST shed-1.12.tar.gz 57934 SHA256 9645c991a2c155e8365d86b927807602156ba502bd0d65c050f60343aa5aa730 SHA512 f668245478b88e74911a5f6bc13629b1be9412056bfb42860554979904451b20cb468ae7a9b2daa8bea83d7f78d3d0c016170767dd80f0a93ba140a51ad02097 WHIRLPOOL c39d064b0a1eb7f43d9538837e07de970e926887a940a82c3f879a6b142ff12f625fcc56689c028f83c673ad644d248210c9498e32f6a8f5d08669b21790713f +DIST shed-1.13.tar.gz 78699 SHA256 d0a1aa6c30b907945608d478949a00ac2ef1b3f1783dbe391816665dc9cff423 SHA512 abea90115820c50bba140a486d74e28cd20704905bb868aa75b94a346faf8d1a0e0739f9558131cff9c5250ac9ef2505cc375f2bdf24c75b6ff464ba767c1832 WHIRLPOOL 950c36c5ffdedba1f3edc64b7371c5a68a0e6664f8a695b66f42c2ec2d5d1618aad39c7856734b9f922d4224199f0bfc4c750c7886650c2792c71b8c6389e85c +DIST shed-1.15.tar.gz 87777 SHA256 5bde9f146704ba552293b658a2e8e05acb0a14a1348925b19a296663539917c7 SHA512 fe401303e686fb11975b71de0f84d0cdb84dc5a48e1094356d012f95d8c956ed05bd6b39bf65af924212e83c1db45bbfe556342489150bb0e10fb4c832fb6c78 WHIRLPOOL 8588f739370309e54ac04e0a686e24adf3c236011ee57ca79846c63fae7038a934992ae0ab918eb4acab2ec1577d5c3aceaaded861620c2b75fbb2b1ee333058 diff --git a/app-editors/shed/files/shed-1.15-cflags.patch b/app-editors/shed/files/shed-1.15-cflags.patch new file mode 100644 index 000000000000..2b675f7449f7 --- /dev/null +++ b/app-editors/shed/files/shed-1.15-cflags.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -2,7 +2,7 @@ + AM_INIT_AUTOMAKE(shed,1.15) + AC_PROG_CC + AC_PROG_INSTALL +-CFLAGS="-Wall" ++CFLAGS="$CFLAGS -Wall" + AC_SUBST(CFLAGS) + + AC_ARG_ENABLE(debug, [ --enable-debug gcc -g],enable_debug=yes) diff --git a/app-editors/shed/files/shed-1.15-interix.patch b/app-editors/shed/files/shed-1.15-interix.patch new file mode 100644 index 000000000000..d496795477b4 --- /dev/null +++ b/app-editors/shed/files/shed-1.15-interix.patch @@ -0,0 +1,14 @@ +http://sourceforge.net/tracker/?func=detail&aid=3554634&group_id=21862&atid=374571 +--- a/shed.c ++++ b/shed.c +@@ -31,6 +31,10 @@ + #include <ctype.h> /* tolower */ + #include <unistd.h> /* dup, dup2 */ + ++#ifdef __INTERIX ++# include <sys/time.h> ++#endif ++ + #include "util.h" + + /* function prototypes */ diff --git a/app-editors/shed/files/shed-1.15-tinfo.patch b/app-editors/shed/files/shed-1.15-tinfo.patch new file mode 100644 index 000000000000..d1a406521c0f --- /dev/null +++ b/app-editors/shed/files/shed-1.15-tinfo.patch @@ -0,0 +1,12 @@ +--- a/configure.in ++++ b/configure.in +@@ -41,8 +41,7 @@ + fi + + ERR="Required package missing!" +-AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([$ERR])) ++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],AC_MSG_ERROR([$ERR])) + AC_CHECK_HEADER(getopt.h,:,AC_MSG_ERROR([$ERR])) +-AC_CHECK_LIB(ncurses,initscr) + AC_CHECK_LIB(m,pow) + AC_OUTPUT(Makefile) diff --git a/app-editors/shed/metadata.xml b/app-editors/shed/metadata.xml new file mode 100644 index 000000000000..6582ca35d1d2 --- /dev/null +++ b/app-editors/shed/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hattya@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">shed</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-editors/shed/shed-1.12.ebuild b/app-editors/shed/shed-1.12.ebuild new file mode 100644 index 000000000000..dc9d949435ac --- /dev/null +++ b/app-editors/shed/shed-1.12.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="Simple Hex EDitor" +HOMEPAGE="http://shed.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="sys-libs/ncurses" +DPEND="${RDEPEND}" + +src_compile() { + emake AM_CFLAGS="${CFLAGS}" +} diff --git a/app-editors/shed/shed-1.13.ebuild b/app-editors/shed/shed-1.13.ebuild new file mode 100644 index 000000000000..8bc54d2051c5 --- /dev/null +++ b/app-editors/shed/shed-1.13.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="Simple Hex EDitor" +HOMEPAGE="http://shed.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="sys-libs/ncurses" +DPEND="${RDEPEND}" + +src_compile() { + emake AM_CFLAGS="${CFLAGS}" +} diff --git a/app-editors/shed/shed-1.15.ebuild b/app-editors/shed/shed-1.15.ebuild new file mode 100644 index 000000000000..46a212909f32 --- /dev/null +++ b/app-editors/shed/shed-1.15.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Simple Hex EDitor" +HOMEPAGE="http://shed.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="sys-libs/ncurses" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-cflags.patch \ + "${FILESDIR}"/${P}-interix.patch \ + "${FILESDIR}"/${P}-tinfo.patch + eautoreconf +} |