diff options
author | 2007-03-28 20:24:55 +0000 | |
---|---|---|
committer | 2007-03-28 20:24:55 +0000 | |
commit | 3cd7dc07a797678319b924cd9a55fbcee6871be2 (patch) | |
tree | 39ad3fe10179299f66f7e85faf1a82a304c18a6f /app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild | |
parent | Readd ~ia64 keyword wrt bug 170491 (diff) | |
download | historical-3cd7dc07a797678319b924cd9a55fbcee6871be2.tar.gz historical-3cd7dc07a797678319b924cd9a55fbcee6871be2.tar.bz2 historical-3cd7dc07a797678319b924cd9a55fbcee6871be2.zip |
Version bump.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild')
-rw-r--r-- | app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild new file mode 100644 index 000000000000..693c2d37a250 --- /dev/null +++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.22.ebuild,v 1.1 2007/03/28 20:24:27 peper Exp $ + +inherit eutils + +DESCRIPTION="OpenSync SyncML Plugin" +HOMEPAGE="http://www.opensync.org/" +SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="LGPL-2.1" +IUSE="http obex" + +DEPEND="=app-pda/libopensync-${PV}* + >=app-pda/libsyncml-0.4.3" +RDEPEND="${DEPEND}" + +pkg_setup() { + if ! use obex && ! use http; then + eerror "${CATEGORY}/${P} without support for obex nor http is unusable." + eerror "Please enable \"obex\" or/and \"http\" USE flags." + die "Please enable \"obex\" or/and \"http\" USE flags." + fi + + if use obex && ! built_with_use app-pda/libsyncml obex; then + eerror "You are trying to build ${CATEGORY}/${P} with the \"obex\"" + eerror "USE flags, but app-pda/libsyncml was built without" + eerror "the \"obex\" USE flag." + eerror "Please rebuild app-pda/libsyncml with \"obex\" USE flag." + die "Please rebuild app-pda/libsyncml with \"obex\" USE flag." + fi + + if use http && ! built_with_use app-pda/libsyncml http; then + eerror "You are trying to build ${CATEGORY}/${P} with the \"http\"" + eerror "USE flags, but app-pda/libsyncml was built without" + eerror "the \"http\" USE flag." + eerror "Please rebuild app-pda/libsyncml with \"http\" USE flag." + die "Please rebuild app-pda/libsyncml with \"http\" USE flag." + fi +} + +src_compile() { + econf \ + $(use_enable http) \ + $(use_enable obex) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog +} |