summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-31 01:28:15 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-31 01:28:15 +0000
commitc4a7f54b9e7363f253220f5aa2c0e710042621f9 (patch)
tree7afb8bd74047e38fea26e603e4be28fb2cbeb373 /dev-libs/matrixssl
parentVersion bump. (diff)
downloadgentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.tar.gz
gentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.tar.bz2
gentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.zip
cleanup install
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-libs/matrixssl')
-rw-r--r--dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch30
-rw-r--r--dev-libs/matrixssl/matrixssl-1.7.3.ebuild6
2 files changed, 32 insertions, 4 deletions
diff --git a/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch
index f8944f686230..d990a2ea443f 100644
--- a/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch
+++ b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch
@@ -2,6 +2,15 @@ Respect host build env
--- matrixssl/src/Makefile
+++ matrixssl/src/Makefile
+@@ -15,7 +15,7 @@
+ E =
+
+ LIBRARY = libmatrixssl$(SO)
+-STATIC = libmatrixsslstatic$(A)
++STATIC = libmatrixssl$(A)
+
+ OBJECTS = \
+ cipherSuite$(O) \
@@ -51,5 +51,6 @@
else
#DFLAGS = -Os
@@ -41,3 +50,24 @@ Respect host build env
+LDFLAGS += -flat_namespace -install_name @executable_path/../src/$(LIBRARY)
STRIP = test
endif
+@@ -122,6 +122,20 @@
+ $(RANLIB) $@
+
+ #
++# Install the package
++#
++DESTDIR =
++PREFIX = /usr
++LIBDIR = $(PREFIX)/lib
++INCDIR = $(PREFIX)/include
++MKDIR = mkdir -p
++
++install: $(LIBRARY) $(STATIC)
++ $(MKDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR)
++ install -m 0644 $(LIBRARY) $(STATIC) $(DESTDIR)$(LIBDIR)
++ install -m 0644 ../*.h $(DESTDIR)$(INCDIR)
++
++#
+ # Clean up all generated files
+ #
+ clean:
diff --git a/dev-libs/matrixssl/matrixssl-1.7.3.ebuild b/dev-libs/matrixssl/matrixssl-1.7.3.ebuild
index db74364c1642..98f67c11fdb3 100644
--- a/dev-libs/matrixssl/matrixssl-1.7.3.ebuild
+++ b/dev-libs/matrixssl/matrixssl-1.7.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/matrixssl-1.7.3.ebuild,v 1.1 2006/01/31 01:18:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/matrixssl-1.7.3.ebuild,v 1.2 2006/01/31 01:28:15 vapier Exp $
inherit eutils
@@ -29,13 +29,11 @@ src_unpack() {
}
src_install() {
- dolib.so libmatrixssl.so || die
+ make install DESTDIR="${D}" || die
cd ..
if use doc ; then
dodoc doc/*
docinto examples
dodoc examples/*
fi
- insinto /usr/include
- doins *.h || die
}