aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gbinder/gbinder-9999.ebuild')
-rw-r--r--dev-libs/gbinder/gbinder-9999.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-libs/gbinder/gbinder-9999.ebuild b/dev-libs/gbinder/gbinder-9999.ebuild
index 66491f86d..d864cc705 100644
--- a/dev-libs/gbinder/gbinder-9999.ebuild
+++ b/dev-libs/gbinder/gbinder-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ else
MY_PN="lib${PN}"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
- SRC_URI="https://github.com/mer-hybris/libgbinder/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/mer-hybris/libgbinder/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
@@ -20,31 +20,31 @@ DESCRIPTION="GLib-style interface to binder"
HOMEPAGE="https://github.com/mer-hybris/libgbinder"
LICENSE="BSD"
SLOT="0"
-IUSE=""
DEPEND="dev-libs/libglibutil"
RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig
- sys-apps/sed"
+BDEPEND="
+ virtual/pkgconfig
+ sys-apps/sed
+"
PATCHES=(
"${FILESDIR}/gbinder-1.1.36-respect-env.patch"
)
+
src_prepare() {
- default
sed -i -e "s|ranlib|$(tc-getRANLIB)|" \
- Makefile \
- || die
+ Makefile || die
+ default
}
src_compile() {
- emake LIBDIR="/usr/$(get_libdir)"
+ emake LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}
src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
-}
-
-src_test() {
- emake test
+ emake LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ DESTDIR="${D}" \
+ INSTALL_INCLUDE_DIR="${ED}/usr/include/gbinder" \
+ install-dev
}