mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-arch/microtar: new package, add 0.1.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
app-arch/microtar/Manifest
Normal file
1
app-arch/microtar/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST microtar-0.1.0.tar.gz 4843 BLAKE2B f2390759ea575f2acbd4eeeaa6394e7e41c225fd858b58b2d138e5fb39f6f633d0ade117bf2435892caac673582c27af68909e76106687b6e10c72fc9bcdf117 SHA512 87279cb52896eb8bda6e05962489f08c5368b9330fd0e094bf7b740b293497f460a6f8a2a2694d5a265d3217ee2f51d8443291df4854e5bd04e157605e6150ef
|
||||
7
app-arch/microtar/metadata.xml
Normal file
7
app-arch/microtar/metadata.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">rxi/microtar</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
25
app-arch/microtar/microtar-0.1.0.ebuild
Normal file
25
app-arch/microtar/microtar-0.1.0.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A lightweight tar library written in ANSI C"
|
||||
HOMEPAGE="https://github.com/rxi/microtar"
|
||||
SRC_URI="https://github.com/rxi/microtar/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -I./src -fPIC -shared -Wl,-soname=libmicrotar.so src/microtar.c -o libmicrotar.so
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so libmicrotar.so
|
||||
doheader src/microtar.h
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user