diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /net-libs/libpsl | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'net-libs/libpsl')
-rw-r--r-- | net-libs/libpsl/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libpsl/libpsl-0.20.2.ebuild | 69 | ||||
-rw-r--r-- | net-libs/libpsl/metadata.xml | 14 |
3 files changed, 86 insertions, 0 deletions
diff --git a/net-libs/libpsl/Manifest b/net-libs/libpsl/Manifest new file mode 100644 index 000000000000..1d401e12ea9c --- /dev/null +++ b/net-libs/libpsl/Manifest @@ -0,0 +1,3 @@ +DIST libpsl-0.20.2.tar.gz 9228099 BLAKE2B d53b8a036ba557704c4d3a498b35fd25e3dfc466d5161040d02b7d8d47af2138cce2bdbb8203fca0591408440f1b4cfab776fe0d2ecd68959f426d903cab08d4 SHA512 fa9f6f7f0447d9fe00f5dfca5262c56ff26217eea44d0f7fc1e5d982224c41874e753f0aa06dd9e5d7d03d4f04e3dacd4f36034cc8dd0fc6e2c28b49a23e62fe +EBUILD libpsl-0.20.2.ebuild 1255 BLAKE2B 12acd8586de06566ec80715e192d1de1f13e0607157926a31bec2a926e1ddd776a0ff54d330f469f7f58d040c856862b754829500ddd1d0a993e2c84fc727d89 SHA512 f572e03390841e4a3e0a0664d23e275b9e00ca973ea509147fa8ff35d504f25b04a458e4fb068ec96d194f8004221d278a446600ace4c75c1afe5e5d1b08846b +MISC metadata.xml 404 BLAKE2B 8a6b54d64c66fe2ec363e4e801973851cf7f3566b4db1752bc63f1f75d4ce7d7fbb04ecb5804e848c5fd97df9eaa55479127239e3320f49dd9db33710a015035 SHA512 7886a14efd3a12c844752f1bb2af9c72963b1e68bf2a7bb2ed7368f6df89f8f0c240aec5dfec7f40d25c1c2c7771060dc013e2032e972f45cb7d86f458c4c004 diff --git a/net-libs/libpsl/libpsl-0.20.2.ebuild b/net-libs/libpsl/libpsl-0.20.2.ebuild new file mode 100644 index 000000000000..58adc0c67916 --- /dev/null +++ b/net-libs/libpsl/libpsl-0.20.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="C library for the Public Suffix List" +HOMEPAGE="https://github.com/rockdaboot/libpsl" +SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${P}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="icu +idn +man" + +REQUIRED_USE="^^ ( icu idn )" + +RDEPEND=" + icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) + idn? ( + dev-libs/libunistring[${MULTILIB_USEDEP}] + net-dns/libidn2:=[${MULTILIB_USEDEP}] + ) +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-util/gtk-doc-am + sys-devel/gettext + virtual/pkgconfig + man? ( dev-libs/libxslt ) +" + +multilib_src_configure() { + local myeconfargs=( + --disable-asan + --disable-cfi + --didable-ubsan + $(use_enable man) + ) + + if use icu || use idn ; then + if use icu ; then + myeconfargs+=( + --enable-builtin=libicu + --enable-runtime=libicu + ) + fi + if use idn ; then + myeconfargs+=( + --enable-builtin=libidn2 + --enable-runtime=libidn2 + ) + fi + else + myeconfargs+=( --disable-runtime ) + fi + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + default + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/net-libs/libpsl/metadata.xml b/net-libs/libpsl/metadata.xml new file mode 100644 index 000000000000..93c95ae3fa86 --- /dev/null +++ b/net-libs/libpsl/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + </maintainer> + <upstream> + <remote-id type="github">rockdaboot/libpsl</remote-id> + </upstream> + <use> + <flag name="man">Build man-pages</flag> + </use> +</pkgmetadata> |