diff options
author | Richard Yao <ryao@gentoo.org> | 2013-06-10 00:10:32 +0000 |
---|---|---|
committer | Richard Yao <ryao@gentoo.org> | 2013-06-10 00:10:32 +0000 |
commit | 3377e6617c13b8c1d5462871206dfcfa2e45bad7 (patch) | |
tree | 938fc5aba49a34f944ea0c1a99080190cc98edc1 /sys-devel | |
parent | Use ${ED} instead of ${D} (diff) | |
download | gentoo-2-3377e6617c13b8c1d5462871206dfcfa2e45bad7.tar.gz gentoo-2-3377e6617c13b8c1d5462871206dfcfa2e45bad7.tar.bz2 gentoo-2-3377e6617c13b8c1d5462871206dfcfa2e45bad7.zip |
New package sys-devel/heirloom-devtools
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
Diffstat (limited to 'sys-devel')
6 files changed, 169 insertions, 0 deletions
diff --git a/sys-devel/heirloom-devtools/ChangeLog b/sys-devel/heirloom-devtools/ChangeLog new file mode 100644 index 000000000000..82f6d093d1bf --- /dev/null +++ b/sys-devel/heirloom-devtools/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sys-devel/heirloom-devtools +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/heirloom-devtools/ChangeLog,v 1.1 2013/06/10 00:10:32 ryao Exp $ + +*heirloom-devtools-999999 (10 Jun 2013) +*heirloom-devtools-070527 (10 Jun 2013) + + 10 Jun 2013; Richard Yao <ryao@gentoo.org> +heirloom-devtools-070527.ebuild, + +files/heirloom-devtools-070527-64-bit.patch, + +heirloom-devtools-999999.ebuild, +metadata.xml: + New ebuild sys-devel/heirloom-devtools. Ebuild written by me with some + inspiration from sys-apps/heirloom-tools. + diff --git a/sys-devel/heirloom-devtools/Manifest b/sys-devel/heirloom-devtools/Manifest new file mode 100644 index 000000000000..66c3a1598c9b --- /dev/null +++ b/sys-devel/heirloom-devtools/Manifest @@ -0,0 +1,6 @@ +AUX heirloom-devtools-070527-64-bit.patch 1175 SHA256 fdb878ff16e8a30b5042f6b447061fb8d9c6c93c3ce691c0715ee3afe121ff1f SHA512 5523e670c9c9d57f0415e30d1aab4dfcd7d8ad74e2535136afbbe4c6e407c713e7801cbcbf7ddbe798ab2790fc196a2fdbf9d5295fa8c475c73360f5e3a27066 WHIRLPOOL 9ee49da3af1e2c0965761e764bbd84f5ff7e2ae8c77f11d44242c7d9720635faa48b29c108aa8d8462bb2427a85a1ad481b55b3a699e2e25d98447ad19c9918e +DIST heirloom-devtools-070527.tar.bz2 381054 SHA256 9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba SHA512 1f1f10a7b49402053172cc028bbd939a46fcf933994cb867fa40e8c5bbd7b1291575b3bac254cd79dc4fce3e3a2c88fe0f890449888fda16169c8e6a2540f055 WHIRLPOOL 145d36f42b180e480afe4bcefa0c59de44787ba9eef73782588834d8b15300b9ef12bde77b47eef992229fdfed8cef9da49b993f50023aa15262166bebe57104 +EBUILD heirloom-devtools-070527.ebuild 1167 SHA256 ab27cac5b44b74581fa4e46240f5aa45e28827f14d1185c1b73fbd685b70d4c6 SHA512 77fc98bf8cea60994470510d14eb764bb34b2a085aa22eb8f0d45129510fa24b0242b66d7f35f0230ecd517a285bbfd5d08c56655de9c15655e81d089f1f35df WHIRLPOOL ea853f6746c978100a68899b69cebf15c47c97df36c3fd7cee22f5e6d5de07f6a5857398285711c7f90caa29dddc48134d7bc06140b1155acfa5817ab87a9135 +EBUILD heirloom-devtools-999999.ebuild 1237 SHA256 ca479228ae4757c5e7ac2a98a17cb57d157fccad24e2ea25e5a2c3da75063c22 SHA512 bee028b44214793a7b172512f8c8539355f1f7fbfce46ccfb9d669be8fbee83e1215ee7d22c88d61f7331146f1653c66f4d4e5e0693ccd03804c93abb8485834 WHIRLPOOL 446933e1197838121308312076ad54e72401c9152d0732b3879517fa6b259ee1b5af8d9d4e7e60a99cf6e5ea0c4c3d6553eab6a572abee82a24628d907db3ce7 +MISC ChangeLog 505 SHA256 16ab1c74d6bd4ee2d28bb50d47c36b4ade0463c203ed727c0e4b7aeb5b9618b3 SHA512 acde1cc5a29179ba7b2ee85a22dc4b847890a4a0ec6104a8d406527868ef29c7a53697edd6229a752a35ab0e9ffb232e595aefccd12d565c7c224a179d397c07 WHIRLPOOL 6027b4d66195c80711bc4758b863369056799f249927462a4336b1c648d2e840b030f137ad10a25e634b05f5e43cff94756ec2edae3ccd457e9133586941b10d +MISC metadata.xml 228 SHA256 a317cd066ed83c5b5acf9d49869cb2f153499bb90cee389334bee9781534f5e8 SHA512 1638d4580908d32ad6fad71d109a58d699c9111d26c1073ae95b20248fc2a5da91a1f73153f01942df25c64865586e970e6532a312cd374d9866bf21264ddc54 WHIRLPOOL 11e5655c66af420e31f60d3ab19ef3ff55222271dd63bca94b548c7a63bbc73e8edfb4d80648d143c7d8315f8ba66bc4140dcf97ff85ea472e2a7cab1de98264 diff --git a/sys-devel/heirloom-devtools/files/heirloom-devtools-070527-64-bit.patch b/sys-devel/heirloom-devtools/files/heirloom-devtools-070527-64-bit.patch new file mode 100644 index 000000000000..d6c3cd7a5488 --- /dev/null +++ b/sys-devel/heirloom-devtools/files/heirloom-devtools-070527-64-bit.patch @@ -0,0 +1,39 @@ +--- a/make/vroot/lock.cc 2007/01/18 15:06:32 1.1 ++++ b/make/vroot/lock.cc 2007/10/01 11:44:26 1.2 +@@ -31,7 +31,7 @@ + /* + * Portions Copyright (c) 2007 Gunnar Ritter, Freiburg i. Br., Germany + * +- * Sccsid @(#)lock.cc 1.4 (gritter) 01/13/07 ++ * Sccsid @(#)lock.cc 1.5 (gritter) 10/1/07 + */ + + #include <avo/intl.h> /* for NOCATGETS */ +@@ -53,7 +53,7 @@ + extern int sys_nerr; + #endif + +-static void file_lock_error(char *msg, char *file, char *str, int arg1, int arg2); ++static void file_lock_error(char *msg, char *file, char *str, const char *arg1, const char *arg2); + + #define BLOCK_INTERUPTS sigfillset(&newset) ; \ + sigprocmask(SIG_SETMASK, &newset, &oldset) +@@ -123,7 +123,7 @@ + + if (errno != EEXIST) { + file_lock_error(msg, name, NOCATGETS("symlink(%s, %s)"), +- (int) name, (int) lockname); ++ name, lockname); + fprintf(stderr, "%s", msg); + return errno; + } +@@ -171,7 +171,8 @@ + * Format a message telling why the lock could not be created. + */ + static void +-file_lock_error(char *msg, char *file, char *str, int arg1, int arg2) ++file_lock_error(char *msg, char *file, char *str, ++ const char *arg1, const char *arg2) + { + int len; + diff --git a/sys-devel/heirloom-devtools/heirloom-devtools-070527.ebuild b/sys-devel/heirloom-devtools/heirloom-devtools-070527.ebuild new file mode 100644 index 000000000000..848a0ad05362 --- /dev/null +++ b/sys-devel/heirloom-devtools/heirloom-devtools-070527.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/heirloom-devtools/heirloom-devtools-070527.ebuild,v 1.1 2013/06/10 00:10:32 ryao Exp $ + +EAPI=4 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Original UNIX development tools" +HOMEPAGE="http://heirloom.sourceforge.net/devtools.html" +SRC_URI="http://downloads.sourceforge.net/project/heirloom/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="BSD BSD-4 CDDL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + app-shells/heirloom-sh + sys-apps/heirloom-tools" +RDEPEND="${DEPEND}" + +src_prepare() { + + sed -i \ + -e 's:\(SHELL =\) \(.*\):\1 /bin/jsh:' \ + -e 's:\(POSIX_SHELL =\) \(.*\):\1 /bin/sh:' \ + -e "s:\(PREFIX=\)/\(.*\):\1${ED}\2:" \ + -e "s:\(SUSBIN=\)/\(.*\):\1${ED}\2:" \ + -e "s:\(LDFLAGS=\):\1${LDFLAGS}:" \ + -e 's:\(STRIP=\)\(.*\):\1true:' \ + -e "s:\(CXX = \)\(.*\):\1$(tc-getCXX):" \ + ./mk.config + + epatch "${FILESDIR}/${P}-64-bit.patch" + +} + +src_compile() { + emake -j1 +} + +pkg_postinst() { + elog "You may want to add /usr/5bin or /usr/ucb to \$PATH" + elog "to enable using the apps of heirloom toolchest by default." + elog "Man pages are installed in /usr/share/man/5man/" + elog "You may need to set \$MANPATH to access them." +} diff --git a/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild b/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild new file mode 100644 index 000000000000..6a1c60743ed5 --- /dev/null +++ b/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild,v 1.1 2013/06/10 00:10:32 ryao Exp $ + +EAPI=4 + +inherit cvs flag-o-matic toolchain-funcs + +ECVS_AUTH="pserver" +ECVS_USER="anonymous" +ECVS_SERVER="heirloom.cvs.sourceforge.net:/cvsroot/heirloom" +ECVS_MODULE="heirloom-devtools" +ECVS_PASS="" +ECVS_CVS_OPTIONS="-dP" + +DESCRIPTION="Original UNIX development tools" +HOMEPAGE="http://heirloom.sourceforge.net/devtools.html" +SRC_URI="" + +LICENSE="BSD BSD-4 CDDL" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND=" + app-shells/heirloom-sh + sys-apps/heirloom-tools" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + + sed -i \ + -e 's:\(SHELL =\) \(.*\):\1 /bin/jsh:' \ + -e 's:\(POSIX_SHELL =\) \(.*\):\1 /bin/sh:' \ + -e "s:\(PREFIX=\)/\(.*\):\1${ED}\2:" \ + -e "s:\(SUSBIN=\)/\(.*\):\1${ED}\2:" \ + -e "s:\(LDFLAGS=\):\1${LDFLAGS}:" \ + -e 's:\(STRIP=\)\(.*\):\1true:' \ + -e "s:\(CXX = \)\(.*\):\1$(tc-getCXX):" \ + ./mk.config + +} + +src_compile() { + emake -j1 +} + +pkg_postinst() { + elog "You may want to add /usr/5bin or /usr/ucb to \$PATH" + elog "to enable using the apps of heirloom toolchest by default." + elog "Man pages are installed in /usr/share/man/5man/" + elog "You may need to set \$MANPATH to access them." +} diff --git a/sys-devel/heirloom-devtools/metadata.xml b/sys-devel/heirloom-devtools/metadata.xml new file mode 100644 index 000000000000..e63e3c3865da --- /dev/null +++ b/sys-devel/heirloom-devtools/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> + <email>ryao@gentoo.org</email> + <name>Richard Yao</name> + </maintainer> +</pkgmetadata> |