]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
add cgal-4.0 and missing edb-0.9.18
authorStefan Huber <shuber2@gmx.at>
Fri, 16 Mar 2012 11:49:44 +0000 (12:49 +0100)
committerStefan Huber <shuber2@gmx.at>
Fri, 16 Mar 2012 11:49:44 +0000 (12:49 +0100)
dev-util/edb/edb-0.9.18.ebuild [new file with mode: 0644]
sci-mathematics/cgal/Manifest
sci-mathematics/cgal/cgal-4.0.ebuild [moved from sci-mathematics/cgal/cgal-3.9.ebuild with 72% similarity]

diff --git a/dev-util/edb/edb-0.9.18.ebuild b/dev-util/edb/edb-0.9.18.ebuild
new file mode 100644 (file)
index 0000000..c2f6037
--- /dev/null
@@ -0,0 +1,40 @@
+# Stolen from gentoo portage
+
+inherit eutils multilib
+
+DESCRIPTION="EDB \"Evan's Debugger\" (OllyDbg workalike for Linux)"
+HOMEPAGE="http://www.codef00.com/projects#debugger"
+SRC_URI="http://www.codef00.com/projects/debugger-${PV}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RESTRICT="strip mirror"
+
+DEPEND="
+       >=x11-libs/qt-core-4.5.0
+       >=x11-libs/qt-gui-4.5.0
+       >=dev-libs/boost-1.35.0"
+
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/debugger"
+
+src_compile() {
+       qmake -makefile DEFAULT_PLUGIN_PATH="/usr/$(get_libdir)/edb/" || dir "qmake failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       make INSTALL_ROOT=${D}/usr/ install
+       dodoc CHANGELOG README README.plugins
+       doman edb.1
+}
+
+pkg_postinst() {
+       einfo "Note: EBD's plugins are installed by default into /usr/$(get_libdir)/edb."
+       einfo "If you have previously used EDB and have it set to look in a"
+       einfo "different directory, then you will need to adjust this. Also"
+       einfo "EDB looks for plugins in the current working directory as well"
+       einfo "as the directory specified in the options, so that unpriviledged"
+       einfo "users can use plugins not installed system wide."
+}
index 9df504a1b939d9d74ed3adbd11067409982a22c1..a1dd577f50c97bd47095ac4c02bef4a2eae4a424 100644 (file)
@@ -1,6 +1,6 @@
 DIST CGAL-3.8-doc_html.tar.xz 17238908 RMD160 f978fc8c4deb7c1d2fe95e4dbe401f59735e6fbd SHA1 2f45c864864af8f7054ae8d4adb9651d27a09eab SHA256 2ba764fee4d907f8553454378db103ede87b99bfa6ab45a8c080d66513ba32d7
 DIST CGAL-3.8.tar.xz 9754596 RMD160 41b00fdbdd1d9378a13d05f91e88c5afdc721031 SHA1 5cd165d3a99a5741606e9138a3363e5a16f049f4 SHA256 a631283ccd35092ff6a1999d7e6f02aff26efd82384e1c192b41b7eb9e44bfe4
-DIST CGAL-3.9-doc_html.tar.xz 17943040 RMD160 d7ad3d7e1ed0a3a21ff2c5a326a3f40c95ef5fae SHA1 47fbb255f117075634b885c1ab9dce1e83639ac9 SHA256 5f22c62365540a036fa66e18a3abe55fc4f5cb36a60717711c54029c032f8120
-DIST CGAL-3.9.tar.xz 9853500 RMD160 0340837bb57824dbf08361e25bfbb91bd01a1668 SHA1 48bff87ab26e013b583ee34f021a6025c4b81cdf SHA256 a5d50f3788b1acd34a20ef84c071f8eb66eeacc5e12760292d6f7c0ff041022c
+DIST CGAL-4.0-doc_html.tar.xz 18465688 RMD160 1c8fbf803e6d9b6bc858c8e4e08d5beabc9a1ba7 SHA1 66bbf2626c8b9a5a48cea68b389f2205dce39406 SHA256 247501ba4fdcaf459ceb3066f79a9cba8cae27d7b5ddd622b3409f20a8e9a244
+DIST CGAL-4.0.tar.xz 9875796 RMD160 655b425335da05537f208b8d4e3a00bcad0f6dd2 SHA1 d1f3f328bc5cb026ddb825cb585c7ae27a8856f7 SHA256 a64f0d4b387b9db4cb76410776b93b4c6c86d1b0c5d049ed00386951ca72a5f3
 EBUILD cgal-3.8.ebuild 1815 RMD160 bd3a6b46f1593f50692d31e320100d10a680da15 SHA1 f61feb1dbe9ecfc8b5dd1afe62ac99186b3dc532 SHA256 b9c076439a9be5430f6b427792e16d9b1e241a8d27a3db7fdd95223fe4d7aaa8
-EBUILD cgal-3.9.ebuild 1606 RMD160 911442c6fe2de5b3e5b9f09f47df1622b83d8c64 SHA1 4837f2954d5adc9fa43a5c2be9871563264b125d SHA256 1c40048a5e04a66b1a7c1b430afbd8f800a08fd578114029543e0579fc378b48
+EBUILD cgal-4.0.ebuild 1834 RMD160 15cbabb1579249841fff70f698cbc3a59f4a7047 SHA1 07c7c01793f9a209dffbe840ba9380acba2230b6 SHA256 86321678831a72217c61552ea7975567715a5c0acaef4b0cd6fca9ea7f95ad61
similarity index 72%
rename from sci-mathematics/cgal/cgal-3.9.ebuild
rename to sci-mathematics/cgal/cgal-4.0.ebuild
index 2fe75ca94a2241b9ee49ec75554b7d9436d16823..d711a054886c954c27b77c47cf768ae11789f863 100644 (file)
@@ -1,32 +1,36 @@
-EAPI=3
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/cgal-3.9.ebuild,v 1.2 2011/12/17 03:31:49 bicatali Exp $
+
+EAPI=4
 CMAKE_BUILD_TYPE=Release
 inherit base multilib cmake-utils
 
 MY_P=CGAL-${PV}
-PID=29122
-DPID=29120
+PID=30385
+DPID=30389
 
 DESCRIPTION="C++ library for geometric algorithms and data structures"
 HOMEPAGE="http://www.cgal.org/"
 SRC_URI="http://gforge.inria.fr/frs/download.php/${PID}/${MY_P}.tar.xz
        doc? ( http://gforge.inria.fr/frs/download.php/${DPID}/${MY_P}-doc_html.tar.xz )"
 
-LICENSE="LGPL-2.1 MIT QPL"
+LICENSE="LGPL-3 MIT GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 RESTRICT="mirror"
-IUSE="+cxx doc examples +gmp lapack qt4"
+IUSE="+cxx doc examples +gmp lapack mpfi qt4"
 
 RDEPEND="dev-libs/boost
        dev-libs/mpfr
        sys-libs/zlib
        x11-libs/libX11
        virtual/opengl
-       gmp? ( dev-libs/gmp
-               cxx? ( dev-libs/gmp[cxx] ) )
+       gmp? ( dev-libs/gmp[cxx=] )
        lapack? ( virtual/lapack )
        qt4? ( x11-libs/qt-gui:4
-               x11-libs/qt-opengl:4 )"
+               x11-libs/qt-opengl:4 )
+       mpfi? ( sci-libs/mpfi )"
 DEPEND="${RDEPEND}
        app-arch/xz-utils
        dev-util/pkgconfig"
@@ -43,7 +47,6 @@ src_prepare() {
 }
 
 src_configure() {
-       LDFLAGS=""
        local mycmakeargs
        if use gmp; then
                mycmakeargs+=( $(cmake-utils_use_with cxx GMPXX) )
@@ -59,17 +62,16 @@ src_configure() {
                $(cmake-utils_use_with gmp)
                $(cmake-utils_use_with lapack CPACK)
                $(cmake-utils_use_with qt4 CGAL_Qt4)
+               $(cmake-utils_use_with mpfi)
        )
        cmake-utils_src_configure
 }
 
 src_install() {
        cmake-utils_src_install
-       if use doc; then
-               dohtml -r "${WORKDIR}"/doc_html/cgal_manual/*
-       fi
+       use doc && dohtml -r "${WORKDIR}"/doc_html/cgal_manual/*
        if use examples; then
                insinto /usr/share/doc/${PF}
-               doins -r examples || die
+               doins -r examples
        fi
 }