Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST symlinks-1.4.3.tar.gz 5888 BLAKE2B 9a75c4f82d93abe2b996fe75c265885a40d8a2966b77659a09e9beb0eeb703b01e0c0dcb1bfc802457f1a1b6e8b681b2e987b10349b2fd48203ea07ea03e79ce SHA512 90437e9114ad18b4137a490111be672d613c141ea8ee43cbf3c3a4ee3f80c620150926a91ec3f52467ed8efce989b1035f72d02a013d335cca5a052b6c0733f8 | ||
DIST symlinks-1.4.tar.gz 4942 BLAKE2B 983c16bd5dedbca3f3544756a1e5de4939eb31e871c72110224f7e63821cec69289d9a1e152081d9895230670b96ed813ef0692ea0922d9a52d5050ade723893 SHA512 d1efb1ca553cc9eb95f1d113e453acd22c9f0964eacec985c85c125de23ae9d636b9ced182c2673f455e5d897ad15a978a424170fce767ccc492443eac7f972f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit flag-o-matic toolchain-funcs | ||
|
||
DESCRIPTION="Scans for and fixes broken or messy symlinks" | ||
HOMEPAGE="https://github.com/brandt/symlinks" | ||
SRC_URI="https://github.com/brandt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="symlinks" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" | ||
IUSE="static" | ||
|
||
DOCS=( Readme.md ) | ||
|
||
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 | ||
} | ||
|
||
src_compile() { | ||
emake CC="$(tc-getCC)" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" | ||
} | ||
|
||
src_install() { | ||
dobin "${PN}" | ||
doman "${PN}.8" | ||
einstalldocs | ||
} |