forked from hasufell/hasufell-repository
28 lines
718 B
Bash
28 lines
718 B
Bash
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
|
require github [ user=utelle tag=v${PV} ]
|
|
|
|
SUMMARY="C++ wrapper around the public domain SQLite 3.x database"
|
|
|
|
LICENCES="wxWinLL-3"
|
|
SLOT="3.0"
|
|
PLATFORMS="~amd64 ~x86"
|
|
MYOPTIONS="
|
|
( providers: gtk2 gtk3 ) [[ number-selected = exactly-one ]]
|
|
"
|
|
|
|
DEPENDENCIES="
|
|
build+run:
|
|
dev-db/sqlite:3[>=3.19.3]
|
|
x11-libs/wxGTK:${SLOT}[providers:gtk3?][providers:gtk2?]
|
|
"
|
|
|
|
src_configure() {
|
|
econf \
|
|
--with-wx-config="/usr/$(exhost --target)/bin/wx-config-${SLOT}-$(option providers:gtk3 gtk3 gtk2)"
|
|
}
|
|
|