dev-libs/fsst: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-04-29 05:21:10 +02:00
parent dfec75eac2
commit f42f8ed5e0
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
COMMIT="fffb613071cb44319c0d6b743a8d6eafc2ed2ad7"
DESCRIPTION="Fast Static Symbol Table: fast text compression that allows random access"
HOMEPAGE="https://github.com/cwida/fsst"
SRC_URI="https://github.com/cwida/fsst/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-admin/chrpath"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${COMMIT}"
src_install() {
chrpath -d "${BUILD_DIR}/fsst" || die
doheader fsst.h libfsst.hpp
dolib.so "${BUILD_DIR}/libfsst.so"
dobin "${BUILD_DIR}/fsst"
dodoc -r README.md fsst-presentation* fsstcompression.pdf
}