mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-libs/libglibutil: Misc fixes
- Remove unnecessary src_test() (the default function already runs emake test/check) - Support Gentoo Prefix Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -19,18 +19,18 @@ SLOT="0"
|
|||||||
DEPEND="dev-libs/glib"
|
DEPEND="dev-libs/glib"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="virtual/pkgconfig"
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}/libglibutil-1.0.76-respect-env.patch"
|
"${FILESDIR}/libglibutil-1.0.76-respect-env.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake LIBDIR="/usr/$(get_libdir)"
|
emake LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
|
emake LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
}
|
DESTDIR="${D}" \
|
||||||
|
INSTALL_INCLUDE_DIR="${ED}/usr/include/gutil" \
|
||||||
src_test() {
|
install-dev
|
||||||
emake test
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -19,18 +19,18 @@ SLOT="0"
|
|||||||
DEPEND="dev-libs/glib"
|
DEPEND="dev-libs/glib"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="virtual/pkgconfig"
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}/libglibutil-1.0.67-r3-respect-env.patch"
|
"${FILESDIR}/libglibutil-1.0.76-respect-env.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake LIBDIR="/usr/$(get_libdir)"
|
emake LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
|
emake LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
}
|
DESTDIR="${D}" \
|
||||||
|
INSTALL_INCLUDE_DIR="${ED}/usr/include/gutil" \
|
||||||
src_test() {
|
install-dev
|
||||||
emake test
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user