From a1b5abadd55c4277ef1fd24ac2be699ccc6fa07d Mon Sep 17 00:00:00 2001 From: Flan's server Date: Mon, 7 Jun 2021 20:24:15 +0000 Subject: [PATCH] update: libcow-0.1.4 --- dev-libs/libcow/Manifest | 3 ++ dev-libs/libcow/libcow-0.1.2.ebuild | 40 +++++++++++++++++++++++++ dev-libs/libcow/libcow-0.1.3.ebuild | 40 +++++++++++++++++++++++++ dev-libs/libcow/libcow-0.1.4.ebuild | 45 +++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 dev-libs/libcow/libcow-0.1.2.ebuild create mode 100644 dev-libs/libcow/libcow-0.1.3.ebuild create mode 100644 dev-libs/libcow/libcow-0.1.4.ebuild diff --git a/dev-libs/libcow/Manifest b/dev-libs/libcow/Manifest index 13862ac..43b7232 100644 --- a/dev-libs/libcow/Manifest +++ b/dev-libs/libcow/Manifest @@ -1 +1,4 @@ DIST libcow-0.1.1.tar.gz 11130 BLAKE2B d6e01153dd4d87e9b750a9ae5974528c76a0b9169a09cc7c1a780d3375d75c7bdf76a8c525c220eee84cd24c92567092ca5d90f22f68449f6432b2b8e6ecbcb3 SHA512 35e7d4ffc529a123bdb7d3689b45cd2cbfdad831572a3a261e37d8f296cab166be0270dc10c91a605c791c01b337ba0e94d42daa0c4cfaf9832a1d653357a089 +DIST libcow-0.1.2.tar.gz 11137 BLAKE2B 8fddb7f09e9390aa41a89eda9c0dd0896dece32b3e855dc16eacd9e84407e7c3e16c5c843bc3e8857ffb92fcac2cb9c20a82543d8520902e425e32765ce7bab8 SHA512 90a61e628c1482b5be475f68ee3dd9223ae8b0d3163d447cc94e3efad65cdc888037fc24f3ac3bdcceb51334ba86ed51d70aa4592a2077d37e4971ebb327c113 +DIST libcow-0.1.3.tar.gz 11159 BLAKE2B 96725f7fe08668e49747c8d1eb0fdd5933c215528f57cefb5fb02db83bd619033640532fa996efcd16a9531b6e19d0d480bcff041750c0438b41854f420fd0ce SHA512 29d6203b1b537daf0d24d664f9f64f445a16ca8f4ff4c43697aabf0901188fa3487196c2f93fff4083f98ef8c4a5e8e1c710e7556b80ce8056c1c06e8bdef5b1 +DIST libcow-0.1.4.tar.gz 11239 BLAKE2B 471e534ecc2210823b9387c83d510fc5f0b6176e6d6c53041f5620245d960d5215e8967d8de19f8d4a18f7695c151931e9950e64046b03a0bd76b7e0e9b4b866 SHA512 d6befd1dfbb826926280d064c14569a05d926f8851c544c6b6c89110cf27bf299408ffa6cbedc81edf2d340bb416e63bb00070ccc0cdb95a77226e71a6a076e5 diff --git a/dev-libs/libcow/libcow-0.1.2.ebuild b/dev-libs/libcow/libcow-0.1.2.ebuild new file mode 100644 index 0000000..cb3b40b --- /dev/null +++ b/dev-libs/libcow/libcow-0.1.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="automatic copy-on-write memory slices" +HOMEPAGE="https://git.flanchan.moe/flanchan/libcow" +SRC_URI="https://git.flanchan.moe/flanchan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +IUSE="debug" + +src_unpack() { + default + mv ${PN}{,-${PV}} +} + +src_compile() { + if use debug; then + CFLAGS="" + CXXFLAGS="" + LDFLAGS="" + fi + TARGET_SPEC_FLAGS=$(usex debug yes no) emake STRIP=: $(usev debug) + use debug && ( mv -f ${PN}{-debug,}.so && + mv -f ${PN}{-debug,}.a || die "failed to move debug targets into place") +} + +src_install() { + #PREFIX="${PREFIX:-/usr/$(get_libdir)}" default fuck off + dolib.a ${PN}.a + dolib.so ${PN}.so + cd include && doheader -r . +} diff --git a/dev-libs/libcow/libcow-0.1.3.ebuild b/dev-libs/libcow/libcow-0.1.3.ebuild new file mode 100644 index 0000000..cb3b40b --- /dev/null +++ b/dev-libs/libcow/libcow-0.1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="automatic copy-on-write memory slices" +HOMEPAGE="https://git.flanchan.moe/flanchan/libcow" +SRC_URI="https://git.flanchan.moe/flanchan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +IUSE="debug" + +src_unpack() { + default + mv ${PN}{,-${PV}} +} + +src_compile() { + if use debug; then + CFLAGS="" + CXXFLAGS="" + LDFLAGS="" + fi + TARGET_SPEC_FLAGS=$(usex debug yes no) emake STRIP=: $(usev debug) + use debug && ( mv -f ${PN}{-debug,}.so && + mv -f ${PN}{-debug,}.a || die "failed to move debug targets into place") +} + +src_install() { + #PREFIX="${PREFIX:-/usr/$(get_libdir)}" default fuck off + dolib.a ${PN}.a + dolib.so ${PN}.so + cd include && doheader -r . +} diff --git a/dev-libs/libcow/libcow-0.1.4.ebuild b/dev-libs/libcow/libcow-0.1.4.ebuild new file mode 100644 index 0000000..57b9eee --- /dev/null +++ b/dev-libs/libcow/libcow-0.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="automatic copy-on-write memory slices" +HOMEPAGE="https://git.flanchan.moe/flanchan/libcow" +SRC_URI="https://git.flanchan.moe/flanchan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +IUSE="debug" + +src_unpack() { + default + mv ${PN}{,-${PV}} +} + +src_compile() { + if use debug; then + CFLAGS="" + CXXFLAGS="" + LDFLAGS="" + fi + TARGET_SPEC_FLAGS=$(usex debug yes no) emake STRIP=: $(usev debug) + use debug && ( mv -f ${PN}{-debug,}.so && + mv -f ${PN}{-debug,}.a || die "failed to move debug targets into place") +} + +src_install() { + dolib.a ${PN}.a + if use debug; then + dolib.so ${PN}.so + else + dolib.so ${PN}.so.${PV} + dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) + dosym ${PN}.so.$(ver_cut 1) /usr/$(get_libdir)/${PN}.so + fi + cd include && doheader -r . +}