update: libcow-0.1.5

master
Avril 4 years ago
parent 99cb419a3f
commit 9602b76a59
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -2,3 +2,4 @@ DIST libcow-0.1.1.tar.gz 11130 BLAKE2B d6e01153dd4d87e9b750a9ae5974528c76a0b9169
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
DIST libcow-0.1.5.tar.gz 11714 BLAKE2B 9cf3732a4e9ec5fe7f7bd420da8c43843e18273fbd9524f93f3dc667d3ad83cadde8f6c2e45ef929e47958623d29421d922b4b7e55e46d6288f3d76a4a26c672 SHA512 f7f4367c32847f59986e1df0435cca6c04f6d8c4e8306882fa12690e8ae8faec4f89e741275ae22d6c126bb0b106e0f046576c4c33203b240b123673cc827078

@ -0,0 +1,42 @@
# 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="-Wl,-soname,${PN}.so.$(ver_cut 1)"
fi
TARGET_SPEC_FLAGS=$(usex debug yes no) emake STRIP=: $(usev debug)
use debug && ( mv -f ${PN}{-debug,}.so &&
mv -f ${PN}.so{,.${PV}} &&
mv -f ${PN}{-debug,}.a || die "failed to move debug targets into place")
}
src_install() {
dolib.a ${PN}.a
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
cd include && doheader -r .
}
Loading…
Cancel
Save