diff options
Diffstat (limited to 'app-misc/glastree')
-rw-r--r-- | app-misc/glastree/Manifest | 2 | ||||
-rw-r--r-- | app-misc/glastree/files/glastree-posix-make.patch | 4 | ||||
-rw-r--r-- | app-misc/glastree/glastree-1.04.ebuild | 28 | ||||
-rw-r--r-- | app-misc/glastree/glastree-1.04_p20150525.ebuild | 34 | ||||
-rw-r--r-- | app-misc/glastree/metadata.xml | 7 |
5 files changed, 42 insertions, 33 deletions
diff --git a/app-misc/glastree/Manifest b/app-misc/glastree/Manifest index 52afda376f2e..2875bc6538bf 100644 --- a/app-misc/glastree/Manifest +++ b/app-misc/glastree/Manifest @@ -1 +1 @@ -DIST glastree-1.04.tar.gz 5846 BLAKE2B b380b577a712f08b0a3ec89627d9f8bd20c76244ab19c8e76d27ac2fa08b0242381c280430fafe8a43bef78de8954d4660051d7648550c4ecd789a8941b55a4d SHA512 81b819bc91780f42f945db13efc97faadd661c3272007dc0b90ed998776d3fc0fbe406249f069f0065271208c9f6ccd0488021d384e05d5b9da39311bec8f94d +DIST glastree-1.04_p20150525.tar.gz 5716 BLAKE2B e248d607ce87f4e78d880c67415c8eb15325a15dca222d14bc9fbafbcfd30c356f71a73fcfc4c8df80c645741e8b0edeca71cfdd0d66b284facad23b5322d64b SHA512 cff2fc671265f7be62b098f9c0a6f8c7711f86c014b64bd0bc1dde4c1570e7707de735d2a421e78d15ff126bcd6cbf18c90ba96bf7a5b30c5f6135c2e4a03179 diff --git a/app-misc/glastree/files/glastree-posix-make.patch b/app-misc/glastree/files/glastree-posix-make.patch index 07e4bf6ec91a..6d0dc395812c 100644 --- a/app-misc/glastree/files/glastree-posix-make.patch +++ b/app-misc/glastree/files/glastree-posix-make.patch @@ -1,8 +1,8 @@ Make sure the perl code is valid both with and without the backslashes. Some make versions strip them, others don't. ---- glastree-1.04/Makefile -+++ glastree-1.04/Makefile +--- a/Makefile ++++ b/Makefile @@ -24,8 +24,8 @@ install: diff --git a/app-misc/glastree/glastree-1.04.ebuild b/app-misc/glastree/glastree-1.04.ebuild deleted file mode 100644 index 892b11bc30aa..000000000000 --- a/app-misc/glastree/glastree-1.04.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils - -DESCRIPTION="glastree is a poor mans snapshot utility using hardlinks written in perl" -HOMEPAGE="http://www.igmus.org/code/" -SRC_URI="http://www.igmus.org/files/${P}.tar.gz" -DEPEND="dev-lang/perl - dev-perl/Date-Calc" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" -LICENSE="public-domain" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-posix-make.patch -} - -src_compile() { :; } - -src_install() { - dodir /usr/share/man/man1 - emake INSTROOT="${D}"/usr INSTMAN=share/man install - dodoc README CHANGES THANKS TODO -} diff --git a/app-misc/glastree/glastree-1.04_p20150525.ebuild b/app-misc/glastree/glastree-1.04_p20150525.ebuild new file mode 100644 index 000000000000..ddff74381dba --- /dev/null +++ b/app-misc/glastree/glastree-1.04_p20150525.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +COMMIT="1dc111308356d999f2a32aa50b6a0737ec5e6b09" +DESCRIPTION="glastree is a poor mans snapshot utility using hardlinks written in perl" +HOMEPAGE="https://old.igmus.org/code/" +SRC_URI="https://github.com/jeremywohl/glastree/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/perl + dev-perl/Date-Calc +" +BDEPEND="test? ( ${RDEPEND} )" + +PATCHES=( + "${FILESDIR}"/${PN}-posix-make.patch +) + +src_compile() { :; } + +src_install() { + dodir /usr/share/man/man1 + emake INSTROOT="${ED}"/usr INSTMAN=share/man install + dodoc README CHANGES THANKS +} diff --git a/app-misc/glastree/metadata.xml b/app-misc/glastree/metadata.xml index 6f49eba8f496..4e722780b5ff 100644 --- a/app-misc/glastree/metadata.xml +++ b/app-misc/glastree/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">jeremywohl/glastree</remote-id> + </upstream> </pkgmetadata> |