summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/gammu/ChangeLog7
-rw-r--r--net-dialup/gammu/Manifest4
-rw-r--r--net-dialup/gammu/files/digest-gammu-0.94.01
-rw-r--r--net-dialup/gammu/files/gammu-0.94.0-LastCalendar.patch12
-rw-r--r--net-dialup/gammu/gammu-0.94.0.ebuild47
-rw-r--r--net-dialup/gammu/metadata.xml8
6 files changed, 79 insertions, 0 deletions
diff --git a/net-dialup/gammu/ChangeLog b/net-dialup/gammu/ChangeLog
new file mode 100644
index 000000000000..e0b4f211edcf
--- /dev/null
+++ b/net-dialup/gammu/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-dialup/gammu
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/ChangeLog,v 1.1 2004/03/13 08:03:15 st_lim Exp $
+
+ 13 Mar 2004; Lim Swee Tat <st_lim@gentoo.org> :
+ First release
+
diff --git a/net-dialup/gammu/Manifest b/net-dialup/gammu/Manifest
new file mode 100644
index 000000000000..860c62c66371
--- /dev/null
+++ b/net-dialup/gammu/Manifest
@@ -0,0 +1,4 @@
+MD5 c020d920331877fcaee377e5daf4581d gammu-0.94.0.ebuild 1149
+MD5 820b5a478618c793ce3c6144485903f2 ChangeLog 192
+MD5 a51e26cc2b8474ef250748df885cf5cb files/digest-gammu-0.94.0 64
+MD5 c76bf05f7542b93d1ffee8dbe6891432 files/gammu-0.94.0-LastCalendar.patch 576
diff --git a/net-dialup/gammu/files/digest-gammu-0.94.0 b/net-dialup/gammu/files/digest-gammu-0.94.0
new file mode 100644
index 000000000000..8dffa0b9b390
--- /dev/null
+++ b/net-dialup/gammu/files/digest-gammu-0.94.0
@@ -0,0 +1 @@
+MD5 b38b6e55d3c233f1fecc18b18787628f gammu-0.94.0.tar.gz 747383
diff --git a/net-dialup/gammu/files/gammu-0.94.0-LastCalendar.patch b/net-dialup/gammu/files/gammu-0.94.0-LastCalendar.patch
new file mode 100644
index 000000000000..995412e76d5a
--- /dev/null
+++ b/net-dialup/gammu/files/gammu-0.94.0-LastCalendar.patch
@@ -0,0 +1,12 @@
+diff -uNr gammu-0.94.0/common/phone/nokia/dct4/n6510.c gammu-current/common/phone/nokia/dct4/n6510.c
+--- gammu-0.94.0/common/phone/nokia/dct4/n6510.c 2004-03-05 00:32:20.000000000 +0800
++++ gammu-current/common/phone/nokia/dct4/n6510.c 2004-03-05 22:46:24.150102360 +0800
+@@ -3400,7 +3400,7 @@
+ /* Method 1 */
+ error=N71_65_GetCalendarInfo1(s, &s->Phone.Data.Priv.N6510.LastCalendar);
+ if (error!=ERR_NONE) return error;
+- Status->Used = LastCalendar->Number;
++ Status->Used = s->Phone.Data.Priv.N6510.LastCalendar.Number;
+ return ERR_NONE;
+ #endif
+
diff --git a/net-dialup/gammu/gammu-0.94.0.ebuild b/net-dialup/gammu/gammu-0.94.0.ebuild
new file mode 100644
index 000000000000..3cf4e7e7d382
--- /dev/null
+++ b/net-dialup/gammu/gammu-0.94.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/gammu-0.94.0.ebuild,v 1.1 2004/03/13 08:03:15 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="nls bluetooth irda"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+S=$WORKDIR/${P}
+
+RDEPEND="irda? ( sys-kernel/linux-headers )
+ 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"
+ use irda || myconf="${myconf} --disable-irdaat --disable-irdaphonet"
+ econf \
+ `use_enable nls` \
+ --prefix=/usr \
+ --enable-cb \
+ --enable-7110incoming \
+ --enable-6210calendar \
+ ${myconf} || die "configure failed"
+
+ 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}
+}
diff --git a/net-dialup/gammu/metadata.xml b/net-dialup/gammu/metadata.xml
new file mode 100644
index 000000000000..5d2416baa203
--- /dev/null
+++ b/net-dialup/gammu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<maintainer>
+ <email>st_lim@gentoo.org</email>
+</maintainer>
+</pkgmetadata>