diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /app-mobilephone/gammu/gammu-1.41.0.ebuild | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'app-mobilephone/gammu/gammu-1.41.0.ebuild')
-rw-r--r-- | app-mobilephone/gammu/gammu-1.41.0.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app-mobilephone/gammu/gammu-1.41.0.ebuild b/app-mobilephone/gammu/gammu-1.41.0.ebuild new file mode 100644 index 000000000000..8be8100b03e1 --- /dev/null +++ b/app-mobilephone/gammu/gammu-1.41.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="A tool to handle your cellular phone" +HOMEPAGE="https://wammu.eu/gammu/" +SRC_URI="https://dl.cihar.com/${PN}/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth curl dbi debug irda mysql nls odbc postgres usb" + +DEPEND=" + dev-libs/glib:2= + virtual/libgudev:= + virtual/libiconv + bluetooth? ( net-wireless/bluez:= ) + curl? ( net-misc/curl:= ) + dbi? ( >=dev-db/libdbi-0.8.3:= ) + irda? ( virtual/os-headers ) + mysql? ( dev-db/mysql-connector-c:= ) + nls? ( sys-devel/gettext ) + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql:= ) + usb? ( virtual/libusb:1= ) +" + +RDEPEND=" + ${DEPEND} + dev-util/dialog +" +src_configure() { + local mycmakeargs=( + -DWITH_BLUETOOTH=$(usex bluetooth) + -DWITH_CURL=$(usex curl) + -DWITH_Gettext=$(usex nls) + -DWITH_Iconv=$(usex nls) + -DWITH_IRDA=$(usex irda) + -DWITH_LibDBI=$(usex dbi) + -DWITH_MySQL=$(usex mysql) + -DWITH_ODBC=$(usex odbc) + -DWITH_Postgres=$(usex postgres) + -DWITH_USB=$(usex usb) + -DBUILD_SHARED_LIBS=ON + -DINSTALL_DOC_DIR="share/doc/${PF}" + ) + cmake-utils_src_configure +} + +src_test() { + addwrite "/run/lock/LCK..bar" + LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test -j1 +} + +src_install() { + cmake-utils_src_install + docompress -x /usr/share/doc/${PF}/examples/ +} |