blob: 9265f2a03fb5744fa6a2ac5d1e6232e90438f0d5 (
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
|
# Distributed under the terms of the GNU General Public License v2
# Copyright 2019 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
require github [ user=Zygo tag=v${PV} ]
export_exlib_phases src_prepare src_install
SLOT="0"
LICENCES="GPL-3"
DEPENDENCIES="
build+run:
sys-fs/btrfs-progs
run:
sys-apps/util-linux
"
bees_src_prepare() {
edo sed -e "s/pkg-config/$(exhost --target)-pkg-config/g" -i Makefile
}
bees_src_install() {
default
edo mkdir -p "${IMAGE}/usr/$(exhost --target)/bin"
edo mv "${IMAGE}/usr/lib/bees/bees" "${IMAGE}/usr/$(exhost --target)/bin/"
edo rm -rf "${IMAGE}/usr/lib"
edo mv "${IMAGE}/usr/sbin/beesd" "${IMAGE}/usr/$(exhost --target)/bin/"
edo rmdir "${IMAGE}/usr/sbin"
}
|