mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
30 lines
715 B
Bash
30 lines
715 B
Bash
# 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
|
|
}
|