diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/sqliteodbc/sqliteodbc-0.99.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/sqliteodbc/sqliteodbc-0.99.ebuild')
-rw-r--r-- | dev-db/sqliteodbc/sqliteodbc-0.99.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild new file mode 100644 index 000000000000..b82e0f692fec --- /dev/null +++ b/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="ODBC driver to access local SQLite database files" +HOMEPAGE="http://www.ch-werner.de/sqliteodbc/" +SRC_URI="http://www.ch-werner.de/sqliteodbc/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +DEPEND=">=dev-db/sqlite-3.6 + || ( + >=dev-db/unixODBC-2.2 + >=dev-db/libiodbc-3.5 + )" +RDEPEND="${DEPEND}" + +pkg_setup() { + tc-export CC +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.93-respect_LDFLAGS.patch" +} + +src_configure() { + econf --disable-static +} + +src_install() { + dodir "/usr/$(get_libdir)" + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" + dodoc ChangeLog README +} |