diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-04 05:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-04 05:21:45 +0100 |
commit | 41e5b5c1f11820df590e0a245bbddf224bc07823 (patch) | |
tree | fa24fa74d0d74130c20b3e25b975b21773018e0a /net-misc/trurl | |
parent | 979898cb45139dd0e6727a01df15b602f74a8dd3 (diff) |
gentoo auto-resync : 04:04:2023 - 05:21:44
Diffstat (limited to 'net-misc/trurl')
-rw-r--r-- | net-misc/trurl/Manifest | 4 | ||||
-rw-r--r-- | net-misc/trurl/metadata.xml | 11 | ||||
-rw-r--r-- | net-misc/trurl/trurl-0.2.ebuild | 38 | ||||
-rw-r--r-- | net-misc/trurl/trurl-9999.ebuild | 38 |
4 files changed, 91 insertions, 0 deletions
diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest new file mode 100644 index 000000000000..f3c87652bae9 --- /dev/null +++ b/net-misc/trurl/Manifest @@ -0,0 +1,4 @@ +DIST trurl-0.2.tar.gz 9095 BLAKE2B 1fab191158ca914c6a8e561095edc5329f7b565849dc1add85d17c05062f46fa82160bc6595c16e28a216821ffab7944edbce3be4a38895191f3c901ccef611f SHA512 e6ad68183acefb09985b453d0bdc7d0afe9e4c916c4e32fe67cee9afd23aa437e0b538cdc9456bc2ed93dc8996c9c64efeeff74a1415f044d0c1e52d0f5f00c7 +EBUILD trurl-0.2.ebuild 784 BLAKE2B 91afabaad66e80c008b11da3b7444d2ece5cde11a2e87ef1e608f2201f0acfb7ce3854bdbc0c2accfb6429097bd8c60dd4a21ba392a0f9ed7cbd6eee9641a261 SHA512 0bffc39b1d294fc7d1aa6f8f2c51475e0761f981bbbf13db301adb173fe2c609c6524418b40be249e44ebf98ad2d983e302a1cf0b843816362d840d08e8f34f5 +EBUILD trurl-9999.ebuild 784 BLAKE2B 91afabaad66e80c008b11da3b7444d2ece5cde11a2e87ef1e608f2201f0acfb7ce3854bdbc0c2accfb6429097bd8c60dd4a21ba392a0f9ed7cbd6eee9641a261 SHA512 0bffc39b1d294fc7d1aa6f8f2c51475e0761f981bbbf13db301adb173fe2c609c6524418b40be249e44ebf98ad2d983e302a1cf0b843816362d840d08e8f34f5 +MISC metadata.xml 315 BLAKE2B 4ae563841f80987d7156bfa13ab36c79f42b60d598dd5425cd877489f874e09cf8d13fa858b1ddb476cebc6a9af1383865bef0d1f82f6ad51aab58e05a225201 SHA512 c0c5e3d8cef3912c447145a6a8131056c13e6865e40eccb1ba422ae3e8ffa0038f7938133e1d05c7686be0886f44f479db53746a6fc2656d7c2d7b0e7e057766 diff --git a/net-misc/trurl/metadata.xml b/net-misc/trurl/metadata.xml new file mode 100644 index 000000000000..9c4ccfbaf759 --- /dev/null +++ b/net-misc/trurl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <upstream> + <remote-id type="github">curl/trurl</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/trurl/trurl-0.2.ebuild b/net-misc/trurl/trurl-0.2.ebuild new file mode 100644 index 000000000000..d746c034e362 --- /dev/null +++ b/net-misc/trurl/trurl-0.2.ebuild @@ -0,0 +1,38 @@ +# 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://daniel.haxx.se/blog/2023/04/03/introducing-trurl/ https://github.com/curl/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 )" + +src_compile() { + tc-export CC + + default +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install +} diff --git a/net-misc/trurl/trurl-9999.ebuild b/net-misc/trurl/trurl-9999.ebuild new file mode 100644 index 000000000000..d746c034e362 --- /dev/null +++ b/net-misc/trurl/trurl-9999.ebuild @@ -0,0 +1,38 @@ +# 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://daniel.haxx.se/blog/2023/04/03/introducing-trurl/ https://github.com/curl/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 )" + +src_compile() { + tc-export CC + + default +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install +} |