aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/bibus')
-rw-r--r--app-text/bibus/Manifest8
-rw-r--r--app-text/bibus/bibus-1.2.0.ebuild68
-rw-r--r--app-text/bibus/bibus-1.20.ebuild24
-rw-r--r--app-text/bibus/files/digest-bibus-1.2.03
4 files changed, 79 insertions, 24 deletions
diff --git a/app-text/bibus/Manifest b/app-text/bibus/Manifest
new file mode 100644
index 0000000..3c8ff53
--- /dev/null
+++ b/app-text/bibus/Manifest
@@ -0,0 +1,8 @@
+DIST bibus-1.2.0.zip 3910294 RMD160 cfe25ed33577712f0f16eea410a65f284aa2dffe SHA1 6429f375c5f745ce00cd2f1d72c46f37541b3f5e SHA256 aa10b4f5d767453d4b3d21ae7dff8bee2e652f42655a479c5b762a6d28b54e26
+EBUILD bibus-1.2.0.ebuild 1426 RMD160 07c36001f5b1abc4083f441f17b3209e75daaa59 SHA1 bb7429db003a9893c0ca23c89c83691ac78e4c29 SHA256 9b175343897764568671c21b42641e2e1a2d529572e684952d23414d9cce2512
+MD5 104811fd6eeada0a4ff4e97d6e9ce0a8 bibus-1.2.0.ebuild 1426
+RMD160 07c36001f5b1abc4083f441f17b3209e75daaa59 bibus-1.2.0.ebuild 1426
+SHA256 9b175343897764568671c21b42641e2e1a2d529572e684952d23414d9cce2512 bibus-1.2.0.ebuild 1426
+MD5 8a6d7b86f5b526ced7ac6989aed0c533 files/digest-bibus-1.2.0 229
+RMD160 565ee7d4de48d1a7cbfe273c79bfef12763b27ef files/digest-bibus-1.2.0 229
+SHA256 66e7a151f68ca87967d013e89717ab38d22088599bf1bedcb9c6fde5dd671114 files/digest-bibus-1.2.0 229
diff --git a/app-text/bibus/bibus-1.2.0.ebuild b/app-text/bibus/bibus-1.2.0.ebuild
new file mode 100644
index 0000000..af26fe8
--- /dev/null
+++ b/app-text/bibus/bibus-1.2.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit wxwidgets python multilib
+
+DESCRIPTION="Bibliographic and reference management software"
+HOMEPAGE="http://bibus-biblio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.zip"
+LICENSE=""
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="mysql sqlite"
+# Most of this mess is designed to give the choice of sqlite or mysql
+# but prefer sqlite. We also need to default to sqlite if neither is requested.
+RDEPEND="virtual/ooo
+ =dev-python/wxpython-2.6*
+ sqlite? (
+ dev-python/pysqlite
+ dev-db/sqliteodbc
+ )
+ !sqlite? (
+ mysql? (
+ dev-python/mysql-python
+ dev-db/myodbc
+ )
+ !mysql? (
+ dev-python/pysqlite
+ dev-db/sqliteodbc
+ )
+ )
+ dev-db/unixODBC"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${P}"
+
+src_compile() {
+ WX_GTK_VER="2.6"
+ need-wxwidgets gtk2 unicode
+
+ sed -i \
+ -e "s:lib:$(get_libdir):g" \
+ -e "s:local/::g" \
+ Setup/bibus.sh \
+ Setup/Makefile
+
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake \
+ -f Setup/Makefile \
+ DESTDIR="${D}" \
+ install || die "emake install failed"
+ emake \
+ -f Setup/Makefile \
+ DESTDIR="${D}" \
+ install-doc-en || die "emake install failed"
+
+ insinto /usr/share/applications/
+ doins Setup/bibus.desktop
+ insinto /usr/share/icons/hicolor/48x48/apps/
+ doins Pixmaps/bibus.png
+
+ dodoc installation.txt
+}
diff --git a/app-text/bibus/bibus-1.20.ebuild b/app-text/bibus/bibus-1.20.ebuild
deleted file mode 100644
index 71f32b5..0000000
--- a/app-text/bibus/bibus-1.20.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DESCRIPTION="Bibliographic and reference management software"
-HOMEPAGE="http://bibus-biblio.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.zip"
-LICENSE=""
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-RDEPEND="virtual/ooo"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}/${P}"
-
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-}
diff --git a/app-text/bibus/files/digest-bibus-1.2.0 b/app-text/bibus/files/digest-bibus-1.2.0
new file mode 100644
index 0000000..da332f3
--- /dev/null
+++ b/app-text/bibus/files/digest-bibus-1.2.0
@@ -0,0 +1,3 @@
+MD5 98e7d52be459a6c8269827c6064c2a63 bibus-1.2.0.zip 3910294
+RMD160 cfe25ed33577712f0f16eea410a65f284aa2dffe bibus-1.2.0.zip 3910294
+SHA256 aa10b4f5d767453d4b3d21ae7dff8bee2e652f42655a479c5b762a6d28b54e26 bibus-1.2.0.zip 3910294