diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-06 11:27:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-06 11:27:38 +0100 |
commit | efca56beb6bbb9547d49163cac02eac0b5c1f657 (patch) | |
tree | 8bf6231248f07665ec95268dc33bf4acfde82f63 /net-misc/trurl/trurl-0.3.ebuild | |
parent | 99d38fd80dbcd05d7ac05f9fbc86c396bacd5f7c (diff) |
gentoo auto-resync : 06:04:2023 - 11:27:37
Diffstat (limited to 'net-misc/trurl/trurl-0.3.ebuild')
-rw-r--r-- | net-misc/trurl/trurl-0.3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/trurl/trurl-0.3.ebuild b/net-misc/trurl/trurl-0.3.ebuild new file mode 100644 index 000000000000..5c9ebf0edda3 --- /dev/null +++ b/net-misc/trurl/trurl-0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Command line tool for URL parsing and manipulation" +HOMEPAGE="https://curl.se/trurl/ https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/curl/trurl" + inherit git-r3 +else + SRC_URI="https://github.com/curl/trurl/archive/refs/tags/${P}.tar.gz" + S="${WORKDIR}"/${PN}-${P} + + KEYWORDS="~amd64" +fi + +LICENSE="curl" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=">=net-misc/curl-7.62.0" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + dev-lang/perl + virtual/perl-JSON-PP + ) +" + +src_compile() { + tc-export CC + + default +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install +} |