Files
guru/app-misc/dragon/dragon-1.1.1.ebuild
Anna Vyalkova b13997d328 app-misc/dragon: pass flags to makefile
Closes: https://bugs.gentoo.org/780765
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
2021-05-05 09:31:14 +05:00

27 lines
598 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland"
HOMEPAGE="https://github.com/mwh/dragon"
SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
DEPEND=">=x11-libs/gtk+-3"
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 $(CFLAGS) \2 $(LDFLAGS)/' \
-i Makefile
}
src_install() {
emake PREFIX="${D}/usr/bin" install
dodoc README
}