mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/duperemove: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST duperemove-0.15.1.gh.tar.gz 120464 BLAKE2B 79aa63247d79a5f143c5e350d3406fbe79f0d4441e033d685ad8841c68b31494f9ec1517ed7e68f49dd972e8c9e2523d67b014274851fc6eef7684e2e6809381 SHA512 ab8b2e979d590b9a90c2bdb541e50e176979536fb5294204509f3f70f85b6997e579ec0d0f86b7ef719ef53503ff59a2e92d7febaa3f22679b7fcb0a581f3f6c
|
||||
DIST duperemove-0.15.gh.tar.gz 119848 BLAKE2B 4b0455b34e3e5c1d002a39ade1b8abcd8a04b50ae7178b575218735e5529c0639f852dd433db1863c31fe14089e01bbc69fb202687d8a691c5a1f4de6f6b499a SHA512 e6d6e658c0175e74d706f9d4cbbeaa7bcad1b554eb60805415a948af63c78b6982cea6be6d48c15ddf14595a5b061d7794014eb1e8b71fab2041fc57e676c881
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Btrfs and xfs deduplication utility"
|
||||
HOMEPAGE="https://github.com/markfasheh/duperemove/"
|
||||
SRC_URI="
|
||||
https://github.com/markfasheh/duperemove/archive/v${PV/_/.}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${P/_/.}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
sys-apps/util-linux:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/libbsd
|
||||
dev-libs/xxhash
|
||||
"
|
||||
|
||||
mymake() {
|
||||
# note: CFLAGS has some upstream flags, sigh
|
||||
emake VERSION="${PV}" IS_RELEASE=1 CFLAGS="${CFLAGS} -Wall -std=c23 -MMD" "${@}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC PKG_CONFIG
|
||||
mymake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mymake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mymake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
||||
Reference in New Issue
Block a user