[net-im/swiften] more changes from the PR

This commit is contained in:
Robert Förster 2018-05-02 18:01:02 +02:00
parent 81761843ae
commit 4e28757dda
1 changed files with 6 additions and 4 deletions

View File

@ -17,12 +17,11 @@ else
RESTRICT="mirror"
SRC_URI="https://swift.im/downloads/releases/swift-${PV}/swift-${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/swift-${PV}"
fi
LICENSE="BSD BSD-1 CC-BY-3.0 GPL-3 OFL-1.1"
SLOT="0/4"
KEYWORDS="~amd64 ~x86"
IUSE="debug expat icu idn sqlite upnp zeroconf"
DEPEND="dev-libs/boost:=
@ -39,6 +38,8 @@ DEPEND="dev-libs/boost:=
RDEPEND="${DEPEND}"
DOCS=( "DEVELOPMENT.md" "README.md" "Swiften/ChangeLog.md" )
src_prepare() {
default
@ -66,6 +67,7 @@ src_configure() {
experimental="$(usex sqlite)"
experimental_ft="$(usex upnp)"
hunspell_enable="false"
icu="$(usex icu)"
install_git_hooks="no"
libidn_bundled_enable="false"
libminiupnpc_force_bundled="false"
@ -94,10 +96,10 @@ src_configure() {
}
src_compile() {
escons "${MYSCONS[@]}" PROJECTS="Swiften" Swiften
escons V=1 "${MYSCONS[@]}" PROJECTS="Swiften" Swiften
}
+src_install() {
src_install() {
escons "${MYSCONS[@]}" SWIFTEN_INSTALLDIR="${ED%/}/usr" SWIFTEN_LIBDIR="${ED%/}/usr/$(get_libdir)" "${ED%/}/usr" Swiften
einstalldocs
}