Browse Source

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

master
Robert Förster 4 years ago
parent
commit
4e28757dda
  1. 10
      net-im/swiften/swiften-9999.ebuild

10
net-im/swiften/swiften-9999.ebuild

@ -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
}

Loading…
Cancel
Save