diff options
Diffstat (limited to 'app-misc/symlinks')
-rw-r--r-- | app-misc/symlinks/Manifest | 3 | ||||
-rw-r--r-- | app-misc/symlinks/metadata.xml | 15 | ||||
-rw-r--r-- | app-misc/symlinks/symlinks-1.4-r3.ebuild | 36 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/symlinks/Manifest b/app-misc/symlinks/Manifest new file mode 100644 index 000000000000..1004be903bea --- /dev/null +++ b/app-misc/symlinks/Manifest @@ -0,0 +1,3 @@ +DIST symlinks-1.4.tar.gz 4942 BLAKE2B 983c16bd5dedbca3f3544756a1e5de4939eb31e871c72110224f7e63821cec69289d9a1e152081d9895230670b96ed813ef0692ea0922d9a52d5050ade723893 SHA512 d1efb1ca553cc9eb95f1d113e453acd22c9f0964eacec985c85c125de23ae9d636b9ced182c2673f455e5d897ad15a978a424170fce767ccc492443eac7f972f +EBUILD symlinks-1.4-r3.ebuild 830 BLAKE2B fb15c53e718c86e997ba8a793ef7183fea52e409b37afa5f3753cbe55c48d16ae504d6ee5ab0e20ab17167ded808cc94883046cdc618a03cfc929f745d28a161 SHA512 5350e9cac341906ae71e710fd1e588395f2c267dfcefe772a161ec07e512341837fc8a583d667c3ebc785695a41cb2abe497cbb6352a2d8dc622273469dd6602 +MISC metadata.xml 631 BLAKE2B 426a6a4bb3909963d06f6e33a29a5944dc436f9951d77ba4e63f322b70d74243f317f3fd4fdfe35ee0d767f16448473177b2fa22edb8746f35786bfc988ff217 SHA512 69594f3511101cf9f9b3d172b0767a3b6de62a22157517ee8d55fd6dec41ff942c54563058eb0a3fd49f024ae331b143e177c026ab778dbc86f7081b6ab3051d diff --git a/app-misc/symlinks/metadata.xml b/app-misc/symlinks/metadata.xml new file mode 100644 index 000000000000..7cb1facbb28b --- /dev/null +++ b/app-misc/symlinks/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <longdescription lang="en"> + Symlinks scans directories for symbolic links and lists them on stdout. + Each link is prefixed with a classification of relative, absolute, + dangling, messy, lengthy or other_fs. Symlinks can also convert + absolute links (within the same filesystem) to relative links and can + delete messy and dangling links. + </longdescription> +</pkgmetadata> diff --git a/app-misc/symlinks/symlinks-1.4-r3.ebuild b/app-misc/symlinks/symlinks-1.4-r3.ebuild new file mode 100644 index 000000000000..30d018d3bce6 --- /dev/null +++ b/app-misc/symlinks/symlinks-1.4-r3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Scans for and fixes broken or messy symlinks" +HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/" +SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz" + +LICENSE="symlinks" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" +IUSE="static" + +DOCS=( symlinks.lsm ) + +src_prepare() { + default + # could be useful if being used to repair + # symlinks that are preventing shared libraries from + # functioning. + use static && append-flags -static + append-lfs-flags + sed 's:-O2::g' -i Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin "${PN}" + doman "${PN}.8" +} |