diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/paho-mqtt/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/dev-libs/paho-mqtt/Manifest b/dev-libs/paho-mqtt/Manifest index 17eb060..f2dc9b1 100644 --- a/dev-libs/paho-mqtt/Manifest +++ b/dev-libs/paho-mqtt/Manifest @@ -1 +1 @@ -DIST v1.3.1.tar.gz 472789 BLAKE2B 75056377eb27e494de131ba5253e6b6118f59f3f793a83cd17c8a6abaa13a440239f57c898133fe615451ec23c3917045dfdac5fa98e9777af24388e34ff72da SHA512 d1af99e6d647ac75ae0831e9478d2bf0c0e83171f451707d01cec4de766d6dddd87ccb4e77600ecdbfde51ddd81e174fdd542cdb7baf90a7d9701e1101b8a67e +DIST paho.mqtt.c-v1.3.1.tar.gz 472789 BLAKE2B 75056377eb27e494de131ba5253e6b6118f59f3f793a83cd17c8a6abaa13a440239f57c898133fe615451ec23c3917045dfdac5fa98e9777af24388e34ff72da SHA512 d1af99e6d647ac75ae0831e9478d2bf0c0e83171f451707d01cec4de766d6dddd87ccb4e77600ecdbfde51ddd81e174fdd542cdb7baf90a7d9701e1101b8a67e diff --git a/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild index c06d672..04d7138 100644 --- a/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild +++ b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild @@ -7,13 +7,14 @@ inherit cmake-utils DESCRIPTION="An Eclipse Paho C client library for MQTT" HOMEPAGE="https://eclipse.org/paho" -SRC_URI="https://github.com/eclipse/paho.mqtt.c/archive/v${PV}.tar.gz" +SRC_URI="https://github.com/eclipse/paho.mqtt.c/archive/v${PV}.tar.gz -> paho.mqtt.c-v${PV}.tar.gz" +IUSE="ssl doc" LICENSE="EPL-1.0" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-libs/openssl" +DEPEND="ssl? ( dev-libs/openssl )" RDEPEND="${DEPEND}" BDEPEND="" @@ -21,9 +22,10 @@ S="${WORKDIR}/paho.mqtt.c-${PV}" src_configure() { local mycmakeargs=( - -DPAHO_WITH_SSL=TRUE - -DPAHO_BUILD_DOCUMENTATION=FALSE - -DPAHO_BUILD_SAMPLES=FALSE + -DPAHO_ENABLE_CPACK=FALSE + -DPAHO_ENABLE_TESTING=FALSE + $(cmake-utils_use ssl PAHO_WITH_SSL) + $(cmake-utils_use doc PAHO_BUILD_DOCUMENTATION) ) cmake-utils_src_configure } |