logo

overlay

My (experimental) gentoo overlay
commit: 667820fa39af17ee64e040d489ccbbaa836f5198
parent: 4a9dd018ceeb312e0af9b6fcb11dfc23f44a3583
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 18 Jan 2019 08:19:18 +0100

dev-libs/socket99: New Package

Diffstat:

Adev-libs/socket99/Manifest1+
Adev-libs/socket99/metadata.xml8++++++++
Adev-libs/socket99/socket99-0.2.2.ebuild20++++++++++++++++++++
3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/dev-libs/socket99/Manifest b/dev-libs/socket99/Manifest @@ -0,0 +1 @@ +DIST socket99-0.2.2.tar.gz 8488 BLAKE2B 9cf04f31c27a1eaa18569b2822a74e179aa7be34bea76371a53b0b44b5d4fa70bacaeb3d375bc381bf64cba2779915ee1d7d0a5956a742c5e125ff79f587f5a8 SHA512 6aa69a6f04297f8c0e9d9cc9269178fe900256f2430a1bab3a24d727d75e2546b09f5a0ff7ce721f0b5cd0e0d1bbdd419c0526e1683daa07708c14e3cc54bc3e diff --git a/dev-libs/socket99/metadata.xml b/dev-libs/socket99/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/socket99/socket99-0.2.2.ebuild b/dev-libs/socket99/socket99-0.2.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Wrapper library for the BSD sockets API with a nicer C99 interface" +HOMEPAGE="https://github.com/silentbicycle/socket99" +SRC_URI="https://github.com/silentbicycle/socket99/archive/v0.2.2.tar.gz -> ${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake "lib${PN}.a" +} + +src_install() { + dolib.a "lib${PN}.a" + doheader "${PN}.h" +}