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-arch/hardlink/hardlink-0.2.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/hardlink/hardlink-0.2.0.ebuild')
-rw-r--r-- | app-arch/hardlink/hardlink-0.2.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-arch/hardlink/hardlink-0.2.0.ebuild b/app-arch/hardlink/hardlink-0.2.0.ebuild new file mode 100644 index 000000000000..d45ddbfecf17 --- /dev/null +++ b/app-arch/hardlink/hardlink-0.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="A tool which replaces copies of a file with hardlinks" +HOMEPAGE="http://jak-linux.org/projects/hardlink/" +SRC_URI="http://jak-linux.org/projects/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="" + +RDEPEND="dev-libs/libpcre" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="README ${T}/README.rsync" + +src_prepare() { + sed -i -e '/^CF/s:?=:+=:' -e '/^CF/s:-O2 -g::' Makefile || die + + cat <<-EOF > "${T}"/README.rsync + https://hardlinkpy.googlecode.com/svn/trunk/hardlink.py has regex '^\..*\.\?{6,6}$' + for excluding rsync temporary files by default. + + To accomplish same with this version, you can use following syntax: + # hardlink -x '^\..*\.\?{6,6}$' + + This was discussed at https://bugs.gentoo.org/416613 + EOF +} + +src_compile() { + tc-export CC + emake +} |