summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-08-14 23:24:56 +0000
committerCédric Krier <cedk@gentoo.org>2006-08-14 23:24:56 +0000
commit25df7b39bb39aadac2bc25e3e7ae213a51259eae (patch)
treec0930179671cd1f3de9a90432d97f4315bacba66 /dev-db/wxSQLite3
parentdev-libs/libyaml: New ebuild for bug #143942 (diff)
downloadsunrise-25df7b39bb39aadac2bc25e3e7ae213a51259eae.tar.gz
sunrise-25df7b39bb39aadac2bc25e3e7ae213a51259eae.tar.bz2
sunrise-25df7b39bb39aadac2bc25e3e7ae213a51259eae.zip
dev-db/wxSQLite3: New Ebuild for bug 143950
svn path=/sunrise/; revision=921
Diffstat (limited to 'dev-db/wxSQLite3')
-rw-r--r--dev-db/wxSQLite3/ChangeLog8
-rw-r--r--dev-db/wxSQLite3/Manifest20
-rw-r--r--dev-db/wxSQLite3/files/digest-wxSQLite3-1.6.03
-rw-r--r--dev-db/wxSQLite3/files/wxSQLite3-1.6.0-makefile_in.patch11
-rw-r--r--dev-db/wxSQLite3/metadata.xml5
-rw-r--r--dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild54
6 files changed, 101 insertions, 0 deletions
diff --git a/dev-db/wxSQLite3/ChangeLog b/dev-db/wxSQLite3/ChangeLog
new file mode 100644
index 000000000..ac427119a
--- /dev/null
+++ b/dev-db/wxSQLite3/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-db/wxSQLite3
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 14 Aug 2006; Cedric Krier <ced@ced.homedns.org> +wxSQLite3-1.6.0.ebuild,
+ +files/wxSQLite3-1.6.0-makefile_in.patch, +metadata.xml:
+ New Ebuild for bug 143950
+
diff --git a/dev-db/wxSQLite3/Manifest b/dev-db/wxSQLite3/Manifest
new file mode 100644
index 000000000..76d520072
--- /dev/null
+++ b/dev-db/wxSQLite3/Manifest
@@ -0,0 +1,20 @@
+AUX wxSQLite3-1.6.0-makefile_in.patch 747 RMD160 0d61684d94d3daa03177ee44448ac4854728aae5 SHA1 88a62d7ebda0286749e1115b0da308e940b10f5f SHA256 6b31e948112dbbd13e7a5ef6ed97d8d2ba1355bddd458def8315b408df0acd68
+MD5 79b52b9f466d446b51276672cfb0a2bd files/wxSQLite3-1.6.0-makefile_in.patch 747
+RMD160 0d61684d94d3daa03177ee44448ac4854728aae5 files/wxSQLite3-1.6.0-makefile_in.patch 747
+SHA256 6b31e948112dbbd13e7a5ef6ed97d8d2ba1355bddd458def8315b408df0acd68 files/wxSQLite3-1.6.0-makefile_in.patch 747
+DIST wxsqlite3-1.6.0.tar.gz 237112 RMD160 4d28df1d5d63682fc1a9abf8ba7da667b04191a8 SHA1 87526d8e1419e93e6b505748a125a71f3aca9700 SHA256 400c47c41404de220fa3465fbf02e4a099758e45faa249fa8d7b1e20381f0a18
+EBUILD wxSQLite3-1.6.0.ebuild 1057 RMD160 9de28e4677f133647d17448bdfeab6ab74f36244 SHA1 c44c0edc9e580fff37d3951540a003b80f99d457 SHA256 f6a8ee04c1aa46122d6d38dcb43fd5b03319400ef42badb7306531b208aa237d
+MD5 980232fc3f3a91960b674ed64aa9d571 wxSQLite3-1.6.0.ebuild 1057
+RMD160 9de28e4677f133647d17448bdfeab6ab74f36244 wxSQLite3-1.6.0.ebuild 1057
+SHA256 f6a8ee04c1aa46122d6d38dcb43fd5b03319400ef42badb7306531b208aa237d wxSQLite3-1.6.0.ebuild 1057
+MISC ChangeLog 280 RMD160 62f7814de488929b29d6da0e16d4cb56db2609c9 SHA1 d89406172b416339a089801d73d8d2d2ca5a4378 SHA256 b135de7ee08240b070fb137b7f85785b92aa447e6e0c692ee28748b1d222ccd5
+MD5 ddac7acbf3709f6d30fa2215c6b62f36 ChangeLog 280
+RMD160 62f7814de488929b29d6da0e16d4cb56db2609c9 ChangeLog 280
+SHA256 b135de7ee08240b070fb137b7f85785b92aa447e6e0c692ee28748b1d222ccd5 ChangeLog 280
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 c88513dd7d8b8246d74f0759a48ebdb2 files/digest-wxSQLite3-1.6.0 247
+RMD160 219354e325a6fe150a0f1aabe00a28a537a1eb58 files/digest-wxSQLite3-1.6.0 247
+SHA256 538049720dc584a605b1f7102f844aec2057ddaf8cb84a24552302f1faf0f853 files/digest-wxSQLite3-1.6.0 247
diff --git a/dev-db/wxSQLite3/files/digest-wxSQLite3-1.6.0 b/dev-db/wxSQLite3/files/digest-wxSQLite3-1.6.0
new file mode 100644
index 000000000..f20ef93eb
--- /dev/null
+++ b/dev-db/wxSQLite3/files/digest-wxSQLite3-1.6.0
@@ -0,0 +1,3 @@
+MD5 b7a457efc5a06b6a4515ccba1e760e82 wxsqlite3-1.6.0.tar.gz 237112
+RMD160 4d28df1d5d63682fc1a9abf8ba7da667b04191a8 wxsqlite3-1.6.0.tar.gz 237112
+SHA256 400c47c41404de220fa3465fbf02e4a099758e45faa249fa8d7b1e20381f0a18 wxsqlite3-1.6.0.tar.gz 237112
diff --git a/dev-db/wxSQLite3/files/wxSQLite3-1.6.0-makefile_in.patch b/dev-db/wxSQLite3/files/wxSQLite3-1.6.0-makefile_in.patch
new file mode 100644
index 000000000..1ef899d6a
--- /dev/null
+++ b/dev-db/wxSQLite3/files/wxSQLite3-1.6.0-makefile_in.patch
@@ -0,0 +1,11 @@
+--- wxsqlite3~/Makefile.in 2006-08-15 01:04:23.000000000 +0200
++++ wxsqlite3/Makefile.in 2006-08-15 01:05:40.000000000 +0200
+@@ -249,7 +249,7 @@
+ @COND_WX_SHARED_1@ $(INSTALL_PROGRAM) ./lib/$(DLLPREFIX)wxsqlite3$(__wxsqlite3_dll___targetsuf3) $(DESTDIR)$(libdir)
+ @COND_WX_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__wxsqlite3_dll___so_symlinks_inst_cmd))
+
+-./samples/minimal$(EXEEXT): $(MINIMAL_OBJECTS) $(__wxsqlite3_lib___depname) $(__minimal___win32rc)
++./samples/minimal$(EXEEXT): $(MINIMAL_OBJECTS) $(__wxsqlite3_lib___depname) $(__wxsqlite3_dll___depname) $(__minimal___win32rc)
+ $(CXX) -o $@ $(MINIMAL_OBJECTS) -L./lib $(LDFLAGS) -L./lib -L$(SQLITE3_DIR)/lib $(WX_LIBS) -lwxsqlite3 $(__SQLITE3_DEP_p)
+
+ $(__minimal___mac_setfilecmd)
diff --git a/dev-db/wxSQLite3/metadata.xml b/dev-db/wxSQLite3/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-db/wxSQLite3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild b/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
new file mode 100644
index 000000000..d0e71591d
--- /dev/null
+++ b/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils wxwidgets
+
+DESCRIPTION="a C++ wrapper around the public domain SQLite 3.x database"
+HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
+SRC_URI="mirror://sourceforge/wxcode/wxsqlite3-${PV}.tar.gz"
+
+LICENSE="wxWinLL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="unicode"
+
+DEPEND=">=x11-libs/wxGTK-2.6
+ =dev-db/sqlite-3*"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/wxsqlite3"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile_in.patch"
+}
+
+src_compile() {
+ export WX_GTK_VER=2.6
+ if use unicode; then
+ need-wxwidgets unicode || die
+ else
+ need-wxwidgets gtk2 || die
+ fi
+
+ econf \
+ $(use_enable unicode) \
+ --enable-shared \
+ --with-gtk \
+ --with-wxshared \
+ --with-sqlite3-prefix=/usr \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc Readme.txt
+ dohtml -r docs/html/*
+ docinto samples
+ dodoc -r samples/*
+}