vsqlite++-0.3.13-r1.ebuild 911 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. AUTOTOOLS_IN_SOURCE_BUILD=1
  5. AUTOTOOLS_AUTORECONF=1
  6. inherit autotools-utils
  7. DESCRIPTION="VSQLite++ - A welldesigned and portable SQLite3 Wrapper for C++"
  8. HOMEPAGE="http://evilissimo.fedorapeople.org/releases/vsqlite--/"
  9. SRC_URI="https://github.com/vinzenz/vsqlite--/archive/${PV}.tar.gz -> ${P}.tar.gz"
  10. IUSE="static-libs"
  11. LICENSE="BSD"
  12. SLOT="0"
  13. KEYWORDS="amd64 ppc x86"
  14. DEPEND=">=dev-libs/boost-1.33.1"
  15. RDEPEND="${DEPEND}
  16. dev-db/sqlite:3"
  17. DOCS=(AUTHORS COPYING ChangeLog INSTALL NEWS README.md TODO VERSION)
  18. # package name is vsqlite++, but github / homepage name is vsqlite--
  19. S="${WORKDIR}/vsqlite---${PV}"
  20. src_prepare() {
  21. ## remove O3 in AM_CXXFLAGS
  22. sed -i -e 's/-O3//' Makefile.am || die
  23. autotools-utils_src_prepare
  24. }
  25. src_configure() {
  26. econf $(use_enable static-libs static)
  27. }