summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/bibutils')
-rw-r--r--app-text/bibutils/bibutils-6.10.ebuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/app-text/bibutils/bibutils-6.10.ebuild b/app-text/bibutils/bibutils-6.10.ebuild
index fb3e20024c41..9b7f812f98cf 100644
--- a/app-text/bibutils/bibutils-6.10.ebuild
+++ b/app-text/bibutils/bibutils-6.10.ebuild
@@ -16,11 +16,17 @@ KEYWORDS="amd64 ~ppc ~x86"
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ default
+ sed -ie 's/REPLACE_INSTALLDIR/${DESTDIR}&/' Makefile_start || die
+ sed -ie 's/REPLACE_LIBINSTALLDIR/${DESTDIR}&/' Makefile_start || die
+}
+
src_configure() {
./configure \
- --dynamic \
- --install-dir "${ED}/usr/bin" \
- --install-lib "${ED}/usr/$(get_libdir)" || die
+ --install-dir /usr/bin \
+ --install-lib /usr/$(get_libdir) \
+ --dynamic || die
}
src_compile() {
@@ -36,3 +42,7 @@ src_test() {
DISTRO_CFLAGS="${CFLAGS}" \
LDFLAGSIN="${LDFLAGS}" test
}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+}