summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-08-28 20:19:52 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-08-28 20:19:52 +0000
commitd8ff3c90e83fd81333a6d7563a66f0a75d4f6d1a (patch)
tree4e793c99b6b6b5dc7b21bb88a1bb3c2f9bd130e0 /net-libs/osptoolkit/osptoolkit-3.3.1.ebuild
parentbump (diff)
downloadgentoo-2-d8ff3c90e83fd81333a6d7563a66f0a75d4f6d1a.tar.gz
gentoo-2-d8ff3c90e83fd81333a6d7563a66f0a75d4f6d1a.tar.bz2
gentoo-2-d8ff3c90e83fd81333a6d7563a66f0a75d4f6d1a.zip
Added multilib support for amd64
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-libs/osptoolkit/osptoolkit-3.3.1.ebuild')
-rw-r--r--net-libs/osptoolkit/osptoolkit-3.3.1.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild b/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild
index 2a95d147d3ce..eece061b5241 100644
--- a/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild
+++ b/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild,v 1.1 2005/08/19 19:29:22 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild,v 1.2 2005/08/28 20:19:52 stkn Exp $
DESCRIPTION="OSP (Open Settlement Protocol) library"
HOMEPAGE="http://www.transnexus.com/"
@@ -17,6 +17,14 @@ DEPEND="virtual/libc
S=${WORKDIR}/TK-${PV//./_}-20041213_B
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ sed -i -e "s:\$(INSTALL_PATH)/lib:\$(INSTALL_PATH)/\$(LIBDIR):" \
+ src/Makefile
+}
+
src_compile() {
cd ${S}/src
emake build || die "emake libosp failed"
@@ -29,10 +37,11 @@ src_compile() {
}
src_install() {
- dodir /usr/{lib,include}
+ dodir /usr/include /usr/$(get_libdir)
cd ${S}/src
- make INSTALL_PATH=${D}/usr install || die "make install failed"
+ make INSTALL_PATH=${D}/usr LIBDIR=$(get_libdir) \
+ install || die "make install failed"
sed -i -e "s:^\(OPENSSL_CONF\).*:\1=/etc/ssl/openssl.cnf:" \
-e "s:^\(RANDFILE\).*:\1=/etc/ssl/.rnd:" \