From 0ec8cd63ff8ce1df5a6ea947453574fb7df5ad87 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 May 2011 10:29:29 -0400 Subject: [PATCH] Add app-mobilephone/opexpushd package. --- app-mobilephone/obexpushd/ChangeLog | 13 +++++ app-mobilephone/obexpushd/Manifest | 3 + app-mobilephone/obexpushd/metadata.xml | 9 +++ .../obexpushd/obexpushd-9999.ebuild | 58 +++++++++++++++++++ profiles/use.local.desc | 1 + 5 files changed, 84 insertions(+) create mode 100644 app-mobilephone/obexpushd/ChangeLog create mode 100644 app-mobilephone/obexpushd/Manifest create mode 100644 app-mobilephone/obexpushd/metadata.xml create mode 100644 app-mobilephone/obexpushd/obexpushd-9999.ebuild diff --git a/app-mobilephone/obexpushd/ChangeLog b/app-mobilephone/obexpushd/ChangeLog new file mode 100644 index 0000000..bec5edf --- /dev/null +++ b/app-mobilephone/obexpushd/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/app-mobilephone/obexpushd/Manifest b/app-mobilephone/obexpushd/Manifest new file mode 100644 index 0000000..51c575b --- /dev/null +++ b/app-mobilephone/obexpushd/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/app-mobilephone/obexpushd/metadata.xml b/app-mobilephone/obexpushd/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/app-mobilephone/obexpushd/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/app-mobilephone/obexpushd/obexpushd-9999.ebuild b/app-mobilephone/obexpushd/obexpushd-9999.ebuild new file mode 100644 index 0000000..f5e6673 --- /dev/null +++ b/app-mobilephone/obexpushd/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 +} diff --git a/profiles/use.local.desc b/profiles/use.local.desc index 890173e..d98e514 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -1 +1,2 @@ +app-mobilephone/obexpushd:xobex - Build libraries to handle x-obex/* mime types. sci-physics/sawsim:pbs - Add support for the Portable Batch System (PBS) -- 2.26.2