From: W. Trevor King Date: Wed, 11 May 2011 14:29:29 +0000 (-0400) Subject: Add app-mobilephone/opexpushd package. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=836b2175bc7ef74dc29450822a07831719100abb;p=wtk-overlay.git Add app-mobilephone/opexpushd package. --- 836b2175bc7ef74dc29450822a07831719100abb diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..bec5edf --- /dev/null +++ b/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-mobilephone/obexpushd +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*Stepper-9999 (11 May 2011) + 11 May 2011; W. Trevor King ChangeLog, metadata.xml, obexpushd-9999.ebuild : + - Created ebuild suite for obexpushd. + - Added initial ChangeLog which should be updated whenever the + package is updated in any way. This changelog is targetted to + users. This means that the comments should well explained and + written in clean English. The details about writing correct + changelogs are explained in the skel.ChangeLog file which you can + find in the root directory of the portage repository. diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..51c575b --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD obexpushd-9999.ebuild 1458 RMD160 e2edd33c7eb4a91e2884ea4cf30dd06250e95612 SHA1 7b1805fa95970917a5ad2c5815f0938a1f28c39e SHA256 80215c98ee284ffe541a98f02a1438336e3f1ce85df53280700cd6c67feac0dd +MISC ChangeLog 671 RMD160 24b2c7b5a2f9b76564d4b49eaef6291d98a7e9b1 SHA1 c7eea3d06301c0f02cea4053056eba47a778a785 SHA256 01c913bfd956664b116ccc6bfae547e26c67ffd071bf0e9706ed5fcf9a019e9c +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/obexpushd-9999.ebuild b/obexpushd-9999.ebuild new file mode 100644 index 0000000..f5e6673 --- /dev/null +++ b/obexpushd-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit cmake-utils + +if [[ ${PV} == "9999" ]] ; then + inherit git + EGIT_REPO_URI="git://gitorious.org/obexpushd/mainline.git" + SRC_URI="" +else + inherit versionator + MY_MAJOR_MINOR=$(version_format_string '$1.$2') + SRC_URI="http://www.hendrik-sattler.de/downloads/obexpushd/${MY_MAJOR_MINOR}/obexpushd-${PV}-source.tar.gz" +fi + +DESCRIPTION="Simple OBEX push daemon based on OpenOBEX" +HOMEPAGE="http://www.gitorious.org/obexpushd" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="bluetooth doc tcpd threads -xobex xattr" + +RDEPEND=">=dev-libs/openobex-1.5[bluetooth?] + bluetooth? ( net-wireless/bluez ) + sys-kernel/linux-headers + tcpd? ( sys-apps/tcp-wrappers ) + xattr? ( sys-apps/attr )" + +DEPEND="dev-util/pkgconfig + doc? ( + || ( dev-libs/libxslt dev-java/saxon dev-libs/xalan ) + app-text/docbook-xsl-stylesheets + ) + ${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DDOCUMENTATION_INSTALL_DIR="/usr/share/doc/${PF}" + $(cmake-utils_use doc BUILD_HELP_HTML) + $(cmake-utils_use doc BUILD_HELP_MAN) + $(cmake-utils_use_use threads THREADS) + $(cmake-utils_use_enable tcpd TCPWRAP) + $(cmake-utils_use xobex BUILD_X_OBEX_SHARED_LIBS) + $(cmake-utils_use_use xattr XATTR) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if ! use doc; then + rm -rf "${D}/usr/share" # nothing there except /doc/${PF} + fi +}