Add app-mobilephone/opexpushd package.
authorW. Trevor King <wking@drexel.edu>
Wed, 11 May 2011 14:29:29 +0000 (10:29 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 11 May 2011 14:29:29 +0000 (10:29 -0400)
app-mobilephone/obexpushd/ChangeLog [new file with mode: 0644]
app-mobilephone/obexpushd/Manifest [new file with mode: 0644]
app-mobilephone/obexpushd/metadata.xml [new file with mode: 0644]
app-mobilephone/obexpushd/obexpushd-9999.ebuild [new file with mode: 0644]
profiles/use.local.desc

diff --git a/app-mobilephone/obexpushd/ChangeLog b/app-mobilephone/obexpushd/ChangeLog
new file mode 100644 (file)
index 0000000..bec5edf
--- /dev/null
@@ -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 <wking@drexel.edu> 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 (file)
index 0000000..51c575b
--- /dev/null
@@ -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 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/app-mobilephone/obexpushd/obexpushd-9999.ebuild b/app-mobilephone/obexpushd/obexpushd-9999.ebuild
new file mode 100644 (file)
index 0000000..f5e6673
--- /dev/null
@@ -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
+}
index 890173ee5125152c798d58d720334c66d295224c..d98e5143b2ff5d1e0878256da3be86a270620bc6 100644 (file)
@@ -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)