diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/xstow |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/xstow')
-rw-r--r-- | app-admin/xstow/Manifest | 7 | ||||
-rw-r--r-- | app-admin/xstow/files/99xstow | 3 | ||||
-rw-r--r-- | app-admin/xstow/files/xstow-1.0.1-ncurses.patch | 56 | ||||
-rw-r--r-- | app-admin/xstow/metadata.xml | 21 | ||||
-rw-r--r-- | app-admin/xstow/xstow-1.0.1.ebuild | 48 |
5 files changed, 135 insertions, 0 deletions
diff --git a/app-admin/xstow/Manifest b/app-admin/xstow/Manifest new file mode 100644 index 000000000000..6f86f4ca4aba --- /dev/null +++ b/app-admin/xstow/Manifest @@ -0,0 +1,7 @@ +AUX 99xstow 65 SHA256 68103af0c35467cf1a726d7a7ac7815d1e4f7ed5c62058d87904829b2081bd76 SHA512 0ade954fc07ba98be74d79e8ce842fc4e3e12f83d59f76eb78810251cc9e1612d963401be99f38002d94a2a32c9c2a32429f73d7ee69e97c12f6a05db14a3476 WHIRLPOOL 1eed3b955957af4e32417cb25919f17580ddbd10a2908bd3c8bf9f1ada619043ffda23fa5b71a64ff3287c01585103abe8a1ca79aef6d13534dea1a494dd15d3 +AUX xstow-1.0.1-ncurses.patch 1070 SHA256 823c85526d502c6cd5921b990f85110b7b6c67cee189b0e0895eeeec14f34bc0 SHA512 63fce626ad5b376a5aa2d335fdd4d73ce3a1b7fccc5a6ff5ab92182d6f3ca40417926b9d35f3447ed73f386d3022d6dc81ec39a2f790fea46b681d344fdad389 WHIRLPOOL d7e7a03840dc94da9244b009b2b68c444532ef24ccff75cafd669bfe4ecb3178bcfee943dcc998f29d97ad70cdf93f313dab1fb0161c01d349efe02f598e4307 +DIST xstow-1.0.1.tar.bz2 153530 SHA256 b25279134689519c15fa5caea3d437c0e8c49d9cfa0c91cc45fb842025b1bf35 SHA512 bb4bb0e9d8fbfe3933c2137cd2258e3246ebfba549aec669a7f324e82af0eea4ab7ca38e68d7102c1417c1566029318749139fa91efd7a904b8f742d426a3d4b WHIRLPOOL 052f3ed2ddf3b6612d898a596aec4547578253aca1e1fa2dc7b3209646c029d59b589ede80ad40586b5c926e6e7826591f98d0137feddfcd4aa5fea66218a23a +EBUILD xstow-1.0.1.ebuild 1230 SHA256 e503ba62a7d86b2a0bddae842a5e3c380f6b5808d6d7e350aa26f6102c695048 SHA512 9253efe7685288362f64b416eacedcf91440a489f3f6f8ed5139612fec54aada75244a8caaf65490534b7864a2f21957aafe4dba420300be0f21a245e2de7055 WHIRLPOOL e80e532f177ede971ba23cf86eb93cc1481d7443ff836066f17faebeece84c6b670f71effa764c23103608957145966924f9b1e1c5d265136760ae3506f2f2ca +MISC ChangeLog 2890 SHA256 bbc5598c135ebb784ae3489210d413aff284b9c5c018b1c6d6df600537430881 SHA512 54e58beebb9f8a15a62925cc4587a361959bf6b2a819f027a83f368462b675dd7e850e9b2786e034f1f2a266448ea27d7f8a0e0e86071405f419fcff4d29c2d0 WHIRLPOOL 7f5003b9e15aacde6ba426e01e71c3bab12cd3f88df5882dfa5837816e14a6ae995e731d77426261b254f5ecc884d69f2adbcd737857eefcf635a9017a28b707 +MISC ChangeLog-2015 3340 SHA256 c6c6a73b95afc4bafd9f04fa8494d967a5017acec154ec6df9233fe028a26664 SHA512 c0c44811ac860bd77951605dcb94b5d68d17a3c43bdb321ea52e18594501926037d62054c4b4eee77c517a6eb343a747c48a9559bb6af25c164dfbe168232806 WHIRLPOOL 0ac996477690e324b8b69d9352f83062dcfbadb25d3d5b189d1dc41fbf851d6264bc2c04e25c632d799a863c8876983c835b2aa305ccf5226bfc942baa75ae79 +MISC metadata.xml 720 SHA256 86425cc81389168d1f204e6bbea39178d4e178ee3f3b4198bb65fd2656a98b84 SHA512 88c7660afcdb65fd3f7593017ac3e65dca0ced73362c5ec3467a86783026720314d0ba91ae4d512b767bef13ee7a46379f04dccc733dec70f8cf8bfe8acd0217 WHIRLPOOL 38ea53392cb42bb214088351e2d1b781e58ea467577f59a23ed289686cff541e93b3a34475c9f94d57bde9c6142e1513dc52a0126ede898f6745f1074f2b8ab8 diff --git a/app-admin/xstow/files/99xstow b/app-admin/xstow/files/99xstow new file mode 100644 index 000000000000..07625f392537 --- /dev/null +++ b/app-admin/xstow/files/99xstow @@ -0,0 +1,3 @@ +LDPATH=/var/lib/lib +PATH=/var/lib/bin +MANPATH=/var/lib/share/man diff --git a/app-admin/xstow/files/xstow-1.0.1-ncurses.patch b/app-admin/xstow/files/xstow-1.0.1-ncurses.patch new file mode 100644 index 000000000000..b7d29f287e7f --- /dev/null +++ b/app-admin/xstow/files/xstow-1.0.1-ncurses.patch @@ -0,0 +1,56 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -91,11 +91,12 @@ + AC_MSG_RESULT(disabled) + support_curses=0 + else ++ AC_MSG_RESULT(enabled) + support_curses=1 + fi + ], +- [ +- AC_MSG_RESULT(enabled) ++ []) ++if test $support_curses -eq 1; then + AC_CHECK_HEADER([curses.h], + [ + # test which libraray to use +@@ -146,7 +147,7 @@ + fi + + if test $support_curses -eq 1; then +- AC_SUBST(LDFLAGS_DYNAMIC, "$LDFLAGS -l$curseslib $tinfolib") ++ AC_SUBST(LDFLAGS_DYNAMIC, "-l$curseslib $tinfolib") + AC_DEFINE(HAVE_CURSES_H, 1, [curses library can be used]) + fi + +@@ -154,8 +155,7 @@ + [ + support_curses=0 + ]) +- ]) +- ++fi + + NO_STL_SSTREAM=0 + NO_STL_STRSTREAM=0 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -46,7 +46,7 @@ + backtrace.h \ + backtrace.cpp + +-xstow_LDFLAGS= $(LDFLAGS) $(LDFLAGS_DYNAMIC) ++xstow_LDADD= $(LDFLAGS_DYNAMIC) + + if ENABLE_MERGE + +@@ -63,7 +63,7 @@ + backtrace.h \ + backtrace.cpp + +-merge_info_LDFLAGS= $(LDFLAGS) $(LDFLAGS_DYNAMIC) ++merge_info_LDADD= $(LDFLAGS_DYNAMIC) + + endif + diff --git a/app-admin/xstow/metadata.xml b/app-admin/xstow/metadata.xml new file mode 100644 index 000000000000..402abfd0dd84 --- /dev/null +++ b/app-admin/xstow/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ewfalor@gmail.com</email> + <name>Erik Falor</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> + <maintainer type="person"> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription>A program that manages the installation of software packages.</longdescription> + <upstream> + <remote-id type="sourceforge">xstow</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-admin/xstow/xstow-1.0.1.ebuild b/app-admin/xstow/xstow-1.0.1.ebuild new file mode 100644 index 000000000000..34a6c3f81440 --- /dev/null +++ b/app-admin/xstow/xstow-1.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="replacement for GNU stow with extensions" +HOMEPAGE="http://xstow.sourceforge.net/" +SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="ncurses" + +DEPEND="ncurses? ( sys-libs/ncurses )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ncurses.patch + eautoreconf +} + +src_configure() { + econf $(use_with ncurses curses) +} + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install + dodoc AUTHORS ChangeLog NEWS README TODO + + # create new STOWDIR + dodir /var/lib/xstow + + # install env.d file to add STOWDIR to PATH and LDPATH + doenvd "${FILESDIR}/99xstow" || die "doenvd failed" +} + +pkg_postinst() { + elog "We now recommend that you use /var/lib/xstow as your STOWDIR" + elog "instead of /usr/local in order to avoid conflicts with the" + elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264" + elog "(regarding app-admin/stow, equally applicable to XStow) for" + elog "more details on this change." + elog "For your convenience, PATH has been updated to include" + elog "/var/lib/bin." +} |