diff options
Diffstat (limited to 'dev-util/sel')
-rw-r--r-- | dev-util/sel/Manifest | 7 | ||||
-rw-r--r-- | dev-util/sel/metadata.xml | 12 | ||||
-rw-r--r-- | dev-util/sel/sel-0.08.4-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-util/sel/sel-0.08.4-r2.ebuild | 35 | ||||
-rw-r--r-- | dev-util/sel/sel-0.08.4.ebuild | 44 |
5 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/sel/Manifest b/dev-util/sel/Manifest new file mode 100644 index 000000000000..441be4461303 --- /dev/null +++ b/dev-util/sel/Manifest @@ -0,0 +1,7 @@ +DIST sel-0.08.4.tar.gz 22188 SHA256 051279e3432415497d02c53e2fe9691b4039bfa6398fb1a60bb2603e1c94a66a SHA512 5550f1b78fef10c2ac7c132f752db4e0f7a3318419bf5751a4f812c1da04b07b3fcac341076d32f6ea436a0216ad6746e9cf29c4bcef630b76e307ded6237e52 WHIRLPOOL 76d92e6d99260f40d633d975204cdcf17999566e268b202d5dce1e2ed809a195ecfbd965f2e90c9a416b1bb3f31d0246e4d394fca7dd824528a1d77f57cc97f6 +EBUILD sel-0.08.4-r1.ebuild 724 SHA256 6a974bc68fd09a2f76a9f1e0f60ce35e0d8cf21b91dfd41464995ac370f6d4e9 SHA512 9978eed79f8494738b544c1fa2e122e532a62151db28cf30b6de726db970a88f86897d04bd1f68ea51062042835e28277a42551d1662f85955bb54148465c285 WHIRLPOOL ce8a8b00b5fad482c8f5696eafa50198b4e04c55587c0a69138fbf21f3c631bf52a6938198399e5acab6a1c30a8b76b6c3b9be82c83727efe9091a54ea73b058 +EBUILD sel-0.08.4-r2.ebuild 720 SHA256 4481898da85f17a0423d9fa0cc6874d7f306f420b28ceb230339159826ee13db SHA512 0652895242592d1611846755acab0142753f164369594d24075c84108b89b07de284ece47ab7a64a8778ff9d919a123bc264aad22a512cc22e98ecace8b051f8 WHIRLPOOL 6fa6ed45357df0f2266e0693c42b7a6367cb733945fe5e6d08726da673dc9a09b3586ac4f8ef7e58a7ac9c150fa390bf59d0946321b15107efc79a9430feba8d +EBUILD sel-0.08.4.ebuild 840 SHA256 98f052ad9c6c6d0aab4e39c3d8bfeec45bc8abdeca5df4977ec1ffbc57981117 SHA512 ad031883bc3001c85d233ed580a614f4a9abb82715c2e6f5cf169a1326a59453fc785e91be9cb6d149af6707c72da532840ac29c01f9396177380b88bb44cf1a WHIRLPOOL 27b466338579ba7d41cf4bd61d7339a264d31d666582f33b028845bb36f4548d8a3a61b84eeb0d89fb2aedfbc90f466e7d52825656bf374166e93ee04d0af705 +MISC ChangeLog 2218 SHA256 39a75d844d0b28c5edc30ca9a0a6f06f6ddecd4ae73df2f76a551924a555850f SHA512 450614654b100766f319d018db1a61ac1e8f9c2e57035af75a4655077f07c22cf0a4c9f04fb6d8e4e81965bfd6c365fd27dc3993441908f09a2aff2363628c6d WHIRLPOOL f5251dbdf15ec8b965b2365303f493a3dbf6deaba4f50b6dadbf880c417dbd2e456dcfaefd56b7aff984b82014ed6c0f6c93c9ecb384d377036d9169d0ec7328 +MISC ChangeLog-2015 2482 SHA256 21233c508ae116afe95542e49ad194cc93663c0f3e64740d7843530a92c6982c SHA512 7e372b9625408ae53bd8dbd45970e77b85205c2ac931082ee9144940c49ea6a81580cee1478537c1684240c8771e35633bc4c2423e408483739f255a92960ad4 WHIRLPOOL 84b40c69d84ecda1ecec39cbcdb800bf0f93e4aeabd5319a23eed675b4846ecfd163f3e93c67c50f97976ff87b1b1499325fbbdeff85ad69713df53a265b33e0 +MISC metadata.xml 404 SHA256 9a3a606fef61c844cecfae5541ffdea63121cc2589fc96c03be202f71f2ffe79 SHA512 310c9f33404a692c3c55ebd8244d3ed4649e46880ba1a3e792ca82e5efffdef763fe809e9380f0820596d3fdc51b1d9708b012374efebf5e3bb88a2d9b1ab500 WHIRLPOOL e939f43897ab18b8e87343c4ff8c94908af18af22dce80de2e569ce964835b1aab72480e209a65f3884c1a2ab47ac0d8172b03500f831e2ed7d047d74de87b02 diff --git a/dev-util/sel/metadata.xml b/dev-util/sel/metadata.xml new file mode 100644 index 000000000000..ac16aaf0a181 --- /dev/null +++ b/dev-util/sel/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +<longdescription> +sel is a file selection utility for use on the shell and in shell scripts +</longdescription> +</pkgmetadata> diff --git a/dev-util/sel/sel-0.08.4-r1.ebuild b/dev-util/sel/sel-0.08.4-r1.ebuild new file mode 100644 index 000000000000..2faa3e43c54f --- /dev/null +++ b/dev-util/sel/sel-0.08.4-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="A filemanager for shell scripts" +SRC_URI="http://www.rninet.de/darkstar/files/${P}.tar.gz" +HOMEPAGE="http://www.rninet.de/darkstar/sel.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ppc s390 sparc x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.1" +DEPEND="${RDEPEND}" + +src_prepare () { + sed -i -e "s:/usr/local/share/sel/help\.txt:/usr/share/sel/help\.txt:" \ + sel.c || die 'sed failed' +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="-lncurses" +} + +src_install () { + dobin sel + doman sel.1 + insinto /usr/share/sel + doins help.txt + dodoc README.GER +} diff --git a/dev-util/sel/sel-0.08.4-r2.ebuild b/dev-util/sel/sel-0.08.4-r2.ebuild new file mode 100644 index 000000000000..d858c06807be --- /dev/null +++ b/dev-util/sel/sel-0.08.4-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A filemanager for shell scripts" +SRC_URI="http://www.rninet.de/darkstar/files/${P}.tar.gz" +HOMEPAGE="http://www.rninet.de/darkstar/sel.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" + +RDEPEND="sys-libs/ncurses:0=" + +DOCS=( "help.txt" README.GER whatsnew ) + +src_prepare () { + default + sed -i \ + -e "s:/usr/local/share/sel/help\.txt:/usr/share/sel/help\.txt:" \ + "${PN}.c" || die 'sed failed' +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="-lncurses" +} + +src_install () { + dobin "${PN}" + doman "${PN}.1" + einstalldocs +} diff --git a/dev-util/sel/sel-0.08.4.ebuild b/dev-util/sel/sel-0.08.4.ebuild new file mode 100644 index 000000000000..e0e7ce2b3de2 --- /dev/null +++ b/dev-util/sel/sel-0.08.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs + +DESCRIPTION="A filemanager for shell scripts" +SRC_URI="http://www.rninet.de/darkstar/files/${P}.tar.gz" +HOMEPAGE="http://www.rninet.de/darkstar/sel.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ppc s390 sparc x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.1" +DEPEND="${RDEPEND}" + +src_unpack () { + unpack ${A} + cd "${S}" + + sed -i -e "s:/usr/local/share/sel/help\.txt:/usr/share/sel/help\.txt:" \ + sel.c || die 'sed failed' +} + +doecho() { + echo "$@" + "$@" +} + +src_compile() { + doecho $(tc-getCC) -o ${PN} \ + ${CFLAGS} ${LDFLAGS} \ + ${PN}.c -lncurses \ + || die "build failed" +} + +src_install () { + dobin sel || die + doman sel.1 || die + insinto /usr/share/sel + doins help.txt || die + dodoc README.GER || die +} |