blob: 402640bea57ab5f7ea37d23e8c92dbf3ebe05d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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}.gh.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
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
}
|