parent
9458a0dd7f
commit
ae8ba11ce0
@ -1,3 +1,4 @@
|
||||
DIST fcmp-0.1.0.tar.gz 1737 BLAKE2B f90a00d17db10da07ab75a2ac75dff06985437540e7f4ccfbcf3c3304422cf332a1737bbda31bdf6952a7e5f4fc11a26034fb4403433588271f66f8f0a271ba5 SHA512 be9a60a83cfaa947374084027e83fa987e74eaf191d95fa8d82d06eb6f0ee55d6d98c0fa04adce878a285ab33d020177281d06b688a1ce9616882e70dbc07e2e
|
||||
DIST fcmp-0.1.1.tar.gz 14613 BLAKE2B c21ae434512d0305cf1fbc25ac361b2480ff43095b98d06fe4cfbeae43e8ad913c2de278411a8950f466cc9e500491ce4b583bd64023f1d2ca68fb4184d218dc SHA512 2640234317163f66e9f5b151822f72579f786126d5bbb1df8fd84a32078b31f1d10672b5c6d42e147753e21c6c23971b3a83c1f84afddf233e87acd3128b1a36
|
||||
DIST fcmp-0.2.0.tar.gz 15189 BLAKE2B e5f8040a97f740144331d758d19b967572ce7c8148cbb7cb0d6236ce8c92fa794a752baa8c26b528147f64ee5a92fd4f187167301a9e58ab92f1d1a7ed83a755 SHA512 aee45e73aa5a0d70e8e8f6b6474ef3e1c1b8e89cc0f5f29aff3b76a78ce2e31a8b348632ce9e5beb17071b4d7fddea6a37ecc6876caf4fe391939a8bdce7b6f9
|
||||
DIST fcmp-0.3.0.tar.gz 17292 BLAKE2B 85e7aebd0bbc0584449c19848915c1ffa2ef32bb3515f62efe78ae3f9234aecb25d2ece1c26d6d9e95c8b590594f7f3f048c27777c93485935cb17413856b965 SHA512 7804e3188cce86eb4bac93feb635d451b4a871b91bcd6426939b145ffefc13725597205c7f8041c9c22cc6575c1fc3a29a08e23bd3023bddfef188660722726f
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Quickly compare files for identity"
|
||||
HOMEPAGE="https://git.flanchan.moe/flanchan/fcmp"
|
||||
SRC_URI="https://git.flanchan.moe/flanchan/fcmp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="debug threads"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv ${PN} ${P}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
local FEAT_CFLAGS
|
||||
local FEAT_LDFLAGS
|
||||
|
||||
if use threads; then
|
||||
FEAT_CFLAGS="-D_RUN_THREADED=0"
|
||||
FEAT_LDFLAGS="-lpthread"
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
FEAT_CFLAGS="${FEAT_CFLAGS}" FEAT_LDFLAGS="${FEAT_LDFLAGS}" CFLAGS="" LDFLAGS="" emake debug
|
||||
mv ${PN}-debug ${PN}
|
||||
else
|
||||
FEAT_CFLAGS="${FEAT_CFLAGS}" FEAT_LDFLAGS="${FEAT_LDFLAGS}" CELEASE_CFLAGS="" RELEASE_LDFLAGS="" default
|
||||
mv ${PN}-release ${PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
Loading…
Reference in new issue