summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2002-09-27 20:01:06 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2002-09-27 20:01:06 +0000
commit5059029780f0960e2acc1d6c5569115323884f40 (patch)
treea2753216e371e65b42dc5d349471975bf6bcb713 /sys-apps/dmapi
parentmasked updated XFS utilities thanks to Hanno (diff)
downloadgentoo-2-5059029780f0960e2acc1d6c5569115323884f40.tar.gz
gentoo-2-5059029780f0960e2acc1d6c5569115323884f40.tar.bz2
gentoo-2-5059029780f0960e2acc1d6c5569115323884f40.zip
updated XFS utils and masked thanks to Hanno
Diffstat (limited to 'sys-apps/dmapi')
-rw-r--r--sys-apps/dmapi/ChangeLog9
-rw-r--r--sys-apps/dmapi/dmapi-2.0.5.ebuild37
-rw-r--r--sys-apps/dmapi/files/digest-dmapi-2.0.51
3 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/dmapi/ChangeLog b/sys-apps/dmapi/ChangeLog
index 5bdac184d5bb..e82858a45fe2 100644
--- a/sys-apps/dmapi/ChangeLog
+++ b/sys-apps/dmapi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/dmapi
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.3 2002/07/21 18:47:18 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.4 2002/09/27 20:01:06 bcowan Exp $
+
+*dmapi-2.0.5 (27 Sep 2002)
+
+ 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> dmapi-2.0.5.ebuild
+ files/digest-dmapi-2.0.5 :
+
+ version bump thanks to Hanno Boeck <hanno@gentoo.org>
*dmapi-20020330.ebuild (14 July 2002)
diff --git a/sys-apps/dmapi/dmapi-2.0.5.ebuild b/sys-apps/dmapi/dmapi-2.0.5.ebuild
new file mode 100644
index 000000000000..5c3a8475ac97
--- /dev/null
+++ b/sys-apps/dmapi/dmapi-2.0.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.0.5.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XFS data management API library"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc sparc sparc64"
+SLOT="0"
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-devel/make sys-apps/xfsprogs"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ cd ${S}
+ export OPTIMIZER="${CFLAGS}"
+ export DEBUG=-DNDEBUG
+ autoconf || die
+ ./configure --prefix=/usr || die
+ # 1) add a ${DESTDIR} prefix to all install paths so we can relocate during the "install" phase
+ # 2) we also set the /usr/share/doc/ directory to the correct value.
+ # 3) we remove a hard-coded "-O1"
+ # 4) we fix some Makefile-created library symlinks that contains absolute paths
+ cp include/builddefs include/builddefs.orig
+ sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
+ -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" \
+ -e 's:-O1::' \
+ -e 's:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
+ include/builddefs.orig > include/builddefs || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install install-dev || die
+}
diff --git a/sys-apps/dmapi/files/digest-dmapi-2.0.5 b/sys-apps/dmapi/files/digest-dmapi-2.0.5
new file mode 100644
index 000000000000..43bf1a801e0c
--- /dev/null
+++ b/sys-apps/dmapi/files/digest-dmapi-2.0.5
@@ -0,0 +1 @@
+MD5 843dd4ebc7d21c6b3df46c7cb258f324 dmapi-2.0.5.src.tar.gz 56399