summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-09-26 14:54:30 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-09-26 14:54:30 +0000
commit74dbf676184243068f0ba0ac3828be8d138f83af (patch)
tree7d77e0e3392975d621b1be1c8edd995d4671b3e8 /net-dialup/gammu/gammu-0.98.0.ebuild
parent~amd64 (Manifest recommit) (diff)
downloadgentoo-2-74dbf676184243068f0ba0ac3828be8d138f83af.tar.gz
gentoo-2-74dbf676184243068f0ba0ac3828be8d138f83af.tar.bz2
gentoo-2-74dbf676184243068f0ba0ac3828be8d138f83af.zip
Version bumped... But I think the bluetooth portion is not working.
Diffstat (limited to 'net-dialup/gammu/gammu-0.98.0.ebuild')
-rw-r--r--net-dialup/gammu/gammu-0.98.0.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/net-dialup/gammu/gammu-0.98.0.ebuild b/net-dialup/gammu/gammu-0.98.0.ebuild
new file mode 100644
index 000000000000..392d0710ac0e
--- /dev/null
+++ b/net-dialup/gammu/gammu-0.98.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/gammu-0.98.0.ebuild,v 1.1 2004/09/26 14:54:30 st_lim Exp $
+
+inherit eutils
+
+DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone"
+SRC_URI="http://www.mwiacek.com/zips/gsm/gammu/older/${P}.tar.gz"
+HOMEPAGE="http://www.mwiacek.com/gsm/gammu/gammu.html"
+
+IUSE="bluetooth irda mysql nls ssl"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND="irda? ( virtual/os-headers )
+ mysql? ( dev-db/mysql )
+ ssl? ( >=dev-libs/openssl-0.9.7d )
+ bluetooth? ( net-wireless/bluez-libs )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ #epatch ${FILESDIR}/${P}-LastCalendar.patch
+}
+
+src_compile() {
+ local myconf
+ use bluetooth && myconf="${myconf} --with-bluedir=/usr/lib" \
+ || myconf="${myconf} --disable-bluefbus --disable-blueobex --disable-bluephonet --disable-blueat --disable-bluerfsearch --disable-fbusblue"
+ use irda || myconf="${myconf} --disable-irdaat --disable-irdaphonet"
+ econf \
+ `use_enable nls` \
+ --prefix=/usr \
+ --enable-cb \
+ --enable-7110incoming \
+ --enable-6210calendar \
+ ${myconf} || die "configure failed"
+
+ sed -e 's:-lz -pthread:-lz -lpthread -lssl:g' \
+ -i ${S}/cfg/Makefile.cfg
+ emake || die "make failed"
+}
+
+src_install () {
+ make DESTDIR=${D} installlib || die "install failed"
+ doman docs/docs/english/gammu.1
+ mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${P}
+}