summaryrefslogtreecommitdiff
blob: 1913a9d3f6f92e3c92e8f53884c1b0d8625b62ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/vsqlite++/vsqlite++-0.3.13.ebuild,v 1.1 2014/11/09 10:34:45 graaff Exp $

EAPI=5
AUTOTOOLS_IN_SOURCE_BUILD=1
AUTOTOOLS_AUTORECONF=1

inherit autotools-utils

DESCRIPTION="VSQLite++ - A welldesigned and portable SQLite3 Wrapper for C++"
HOMEPAGE="http://evilissimo.fedorapeople.org/releases/vsqlite--/"
SRC_URI="https://github.com/vinzenz/vsqlite--/archive/${PV}.tar.gz"
IUSE="static-libs"

LICENSE="BSD"

SLOT="0"

KEYWORDS="~amd64 ~x86"

DEPEND=">=dev-libs/boost-1.33.1"

RDEPEND="${DEPEND}
		dev-db/sqlite:3"

DOCS=(AUTHORS COPYING ChangeLog INSTALL NEWS README TODO VERSION)

# package name is vsqlite++, but github / homepage name is vsqlite--
S="${WORKDIR}/vsqlite---${PV}"

src_prepare() {
	## remove O3 in AM_CXXFLAGS
	sed -i -e 's/-O3//' Makefile.am || die
	autotools-utils_src_prepare
}

src_configure() {
	econf $(use_enable static-libs static)
}