diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-05-14 12:28:32 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-05-14 12:28:32 +0000 |
commit | 83740542ebfcfbb204aa35cbce6f4c4b12e92038 (patch) | |
tree | 3491dbd39335778b9b60935845ec0f9d213599df /app-mobilephone | |
parent | initial version. (diff) | |
download | gentoo-2-83740542ebfcfbb204aa35cbce6f4c4b12e92038.tar.gz gentoo-2-83740542ebfcfbb204aa35cbce6f4c4b12e92038.tar.bz2 gentoo-2-83740542ebfcfbb204aa35cbce6f4c4b12e92038.zip |
moved from net-dialup/gnokii
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/gnokii/ChangeLog | 139 | ||||
-rw-r--r-- | app-mobilephone/gnokii/Manifest | 10 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/digest-gnokii-0.6.3 | 1 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/digest-gnokii-0.6.4 | 1 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.3-nounix98pty.patch | 83 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.4-nounix98pty.patch | 83 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-bindir.patch | 11 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii.desktop | 10 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.3.ebuild | 87 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.4.ebuild | 87 | ||||
-rw-r--r-- | app-mobilephone/gnokii/metadata.xml | 11 |
11 files changed, 523 insertions, 0 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog new file mode 100644 index 000000000000..828ae5d7a551 --- /dev/null +++ b/app-mobilephone/gnokii/ChangeLog @@ -0,0 +1,139 @@ +# ChangeLog for app-mobilephone/gnokii +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.1 2005/05/14 12:28:32 mrness Exp $ + + 14 May 2005; Alin Nastac <mrness@gentoo.org> metadata.xml: + Moved from net-dialup/gnokii to app-mobilephone/gnokii. + + 25 Apr 2005; Jason Wever <weeve@gentoo.org> gnokii-0.6.4.ebuild: + Stable on SPARC. + + 01 Apr 2005; Aron Griffis <agriffis@gentoo.org> gnokii-0.6.4.ebuild: + stable on ia64 + + 22 Mar 2005; Markus Rothe <corsair@gentoo.org> gnokii-0.6.4.ebuild: + Stable on ppc64 + + 06 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org> gnokii-0.6.4.ebuild: + Marked stable on amd64. + + 28 Feb 2005; Alin Nastac <mrness@gentoo.org> gnokii-0.6.3.ebuild, + gnokii-0.6.4.ebuild: + Move virtual/os-headers from RDEPEND to DEPEND (#82449). + + 06 Feb 2005; Alin Nastac <mrness@gentoo.org> + -files/gnokii-0.5.4-nounix98pty.patch, -gnokii-0.5.10.ebuild, + -gnokii-0.6.0.ebuild, gnokii-0.6.4.ebuild: + Remove obsolete ebuilds and mark as stable on x86. + + 04 Jan 2005; Guy Martin <gmsoft@gentoo.org> gnokii-0.6.3.ebuild: + Stable on hppa. + + 16 Dec 2004; Markus Rothe <corsair@gentoo.org> gnokii-0.6.3.ebuild: + Stable on ppc64 + + 06 Dec 2004; Jason Huebel <jhuebel@gentoo.org> gnokii-0.6.3.ebuild: + stable on amd64 + +*gnokii-0.6.4 (18 Nov 2004) + + 18 Nov 2004; Alin Nastac <mrness@gentoo.org> + +files/gnokii-0.6.3-nounix98pty.patch, + -files/gnokii-0.6.3-nounix98pty.patch.bz2, + +files/gnokii-0.6.4-nounix98pty.patch, gnokii-0.6.3.ebuild, + +gnokii-0.6.4.ebuild: + Version bump with install errors cleaned up. + + 17 Nov 2004; Alin Nastac <mrness@gentoo.org> gnokii-0.6.3.ebuild: + Stable on x86 + + 17 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> gnokii-0.6.3.ebuild: + Stable on alpha. + + 06 Nov 2004; Lars Weiler <pylon@gentoo.org> gnokii-0.6.3.ebuild: + Stable on ppc. + + 06 Nov 2004; Markus Rothe <corsair@gentoo.org> gnokii-0.6.3.ebuild: + Marked ~ppc64; bug #67291 + + 04 Nov 2004; Jason Wever <weeve@gentoo.org> gnokii-0.6.3.ebuild: + Stable on sparc wrt security bug #69936. + + 03 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> gnokii-0.6.3.ebuild: + ~alpha keyword. + + 17 Oct 2004; David Holm <dholm@gentoo.org> gnokii-0.6.3.ebuild: + Added to ~ppc. + + 12 Oct 2004; Jason Wever <weeve@gentoo.org> gnokii-0.6.3.ebuild: + Added ~sparc keyword wrt bug #67291. + +*gnokii-0.6.3 (15 Sep 2004) + + 15 Sep 2004; Heinrich Wendel <lanius@gentoo.org> + +files/gnokii-0.6.3-nounix98pty.patch.bz2, +files/gnokii-bindir.patch, + +files/gnokii.desktop, +gnokii-0.6.3.ebuild: + version bump, bug #61906, added destop file + + 03 Aug 2004; Heinrich Wendel <lanius@gentoo.org> gnokii-0.4.3.ebuild: + remove old buggy ebuild + + 09 Jul 2004; Travis Tilley <lv@gentoo.org> gnokii-0.5.10.ebuild, + gnokii-0.6.0.ebuild: + switch linux-headers dependency to virtual/os-headers + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> gnokii-0.5.10.ebuild, + gnokii-0.6.0.ebuild: + Add inherit eutils + + 24 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> gnokii-0.6.0.ebuild: + marked ~amd64. + +*gnokii-0.6.0 (22 Mar 2004) + + 22 Mar 2004; Heinrich Wendel <lanius@gentoo.org> gnokii-0.5.5.ebuild, + gnokii-0.6.0.ebuild: + version bump, bug #45365 + + 06 Mar 2004; Heinrich Wendel <lanius@gentoo.org> gnokii-0.5.10.ebuild: + mark gnokii-0.5.10 stable because of a serious bug in the previous version (bug + #42909) + +*gnokii-0.5.10 (22 Feb 2004) + + 22 Feb 2004; Heinrich Wendel <lanius@gentoo.org> gnokii-0.5.10.ebuild, + gnokii-0.5.4.ebuild, gnokii-0.5.5.ebuild: + mark 0.5.5 stable; remove 0.5.4; add 0.5.10 + +*gnokii-0.5.5 (25 Nov 2003) + + 25 Nov 2003; Heinrich Wendel <lanius@gentoo.org> gnokii-0.5.5.ebuild: + version bump + + 19 Nov 2003; Heinrich Wendel <lanius@gentoo.org> metadata.xml: + metadata + +*gnokii-0.5.4 (01 Oct 2003) + + 01 Oct 2003; Alastair Tse <liquidx@gentoo.org> gnokii-0.5.2-r1.ebuild, + gnokii-0.5.4.ebuild, files/gnokii-0.5.2-nounix98pty.patch, + files/gnokii-0.5.4-nounix98pty.patch: + version bump. revised ebuild to not disable sandbox and remove gnokii group + for the moment while we figure out whether it is actually needed. installs the + right docs and other general cleanup. + +*gnokii-0.5.2 (08 Aug 2003) + + 08 Aug 2003; Hanno Boeck <hanno@gentoo.org> gnokii-0.5.2.ebuild: + Version bump. Changed some dodoc-commands (ebuild submitted by roger@eskimo.com + in bug 22270. + +*gnokii-0.4.3 (22 May 2003) + + 22 May 2003; Chuck Brewer <killian@gentoo.org>: + Added maifest. + +*gnokii-0.4.3 (10 Dec 2002) + + 10 Dec 2002; Jose Alberto Suarez Lopez <bass@gentoo.org> : + First relase. bug#6438 diff --git a/app-mobilephone/gnokii/Manifest b/app-mobilephone/gnokii/Manifest new file mode 100644 index 000000000000..36b506c0a464 --- /dev/null +++ b/app-mobilephone/gnokii/Manifest @@ -0,0 +1,10 @@ +MD5 a2d1265a24a7fa3a1c1350f65faa1d18 ChangeLog 4469 +MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 +MD5 c2c97c819132f0f422adf7743856b3b8 gnokii-0.6.3.ebuild 2020 +MD5 29c1ce33beced87f26ffc4f70ff23a09 gnokii-0.6.4.ebuild 2157 +MD5 a5368c4063484bca17cb363705d3caa2 files/digest-gnokii-0.6.3 66 +MD5 e7cbb30653687bd875e5eff32b913b6c files/gnokii-0.6.4-nounix98pty.patch 2259 +MD5 2f2f572bc05f2ee40468130dcdd7e946 files/gnokii-bindir.patch 461 +MD5 135df3cf24c3041ccb20a5896482ed59 files/gnokii.desktop 260 +MD5 e99ea660638e47400dc8320ea630d0b8 files/digest-gnokii-0.6.4 66 +MD5 a94c289dfef59e2ddbf2fd186d180f5f files/gnokii-0.6.3-nounix98pty.patch 2258 diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.3 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.3 new file mode 100644 index 000000000000..60d24e87d72b --- /dev/null +++ b/app-mobilephone/gnokii/files/digest-gnokii-0.6.3 @@ -0,0 +1 @@ +MD5 7e932688aeaa2ca8be2f2e3b3bf1b90e gnokii-0.6.3.tar.bz2 1824992 diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.4 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.4 new file mode 100644 index 000000000000..3848e52c4210 --- /dev/null +++ b/app-mobilephone/gnokii/files/digest-gnokii-0.6.4 @@ -0,0 +1 @@ +MD5 e48e72b4038481509f32e2a7596dc2d5 gnokii-0.6.4.tar.bz2 2006834 diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.3-nounix98pty.patch b/app-mobilephone/gnokii/files/gnokii-0.6.3-nounix98pty.patch new file mode 100644 index 000000000000..6566c768a957 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.3-nounix98pty.patch @@ -0,0 +1,83 @@ +--- configure 2004-04-13 23:28:02.000000000 +0200 ++++ configure.new 2004-05-15 01:31:01.364191640 +0200 +@@ -28863,80 +28863,6 @@ + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi +-echo "$as_me:$LINENO: result: $ac_cv_func_grantpt" >&5 +-echo "${ECHO_T}$ac_cv_func_grantpt" >&6 +-if test $ac_cv_func_grantpt = yes; then +- if test "$cross_compiling" = yes; then +- { echo "$as_me:$LINENO: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&5 +-echo "$as_me: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&2;} +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#define _XOPEN_SOURCE 500 +- +-#include <stdlib.h> +-#include <sys/types.h> +-#include <sys/stat.h> +-#include <fcntl.h> +-#include <unistd.h> +- +-int main() +-{ +- char *name = NULL; +- int master, err; +- +- master = open("/dev/ptmx", O_RDWR | O_NOCTTY | O_NONBLOCK); +- if (master >= 0) { +- err = grantpt(master); +- err = err || unlockpt(master); +- if (!err) { +- name = ptsname(master); +- } else { +- exit(-1); +- } +- } else { +- exit(-1); +- } +- close(master); +- exit(0); +-} +- +-_ACEOF +-rm -f conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- cat >>confdefs.h <<\_ACEOF +-#define USE_UNIX98PTYS 1 +-_ACEOF +- +-else +- echo "$as_me: program exited with status $ac_status" >&5 +-echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-{ echo "$as_me:$LINENO: WARNING: \"No unix98ptys\"" >&5 +-echo "$as_me: WARNING: \"No unix98ptys\"" >&2;} +-fi +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-fi +- + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.4-nounix98pty.patch b/app-mobilephone/gnokii/files/gnokii-0.6.4-nounix98pty.patch new file mode 100644 index 000000000000..5b4e55f9da49 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.4-nounix98pty.patch @@ -0,0 +1,83 @@ +--- configure.orig 2004-10-17 22:44:38.000000000 +0300 ++++ configure 2004-11-18 00:24:20.496016136 +0200 +@@ -29417,80 +29417,6 @@ + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi +-echo "$as_me:$LINENO: result: $ac_cv_func_grantpt" >&5 +-echo "${ECHO_T}$ac_cv_func_grantpt" >&6 +-if test $ac_cv_func_grantpt = yes; then +- if test "$cross_compiling" = yes; then +- { echo "$as_me:$LINENO: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&5 +-echo "$as_me: WARNING: \"Ensure to disable unix98ptys when crosscompiling\"" >&2;} +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#define _XOPEN_SOURCE 500 +- +-#include <stdlib.h> +-#include <sys/types.h> +-#include <sys/stat.h> +-#include <fcntl.h> +-#include <unistd.h> +- +-int main() +-{ +- char *name = NULL; +- int master, err; +- +- master = open("/dev/ptmx", O_RDWR | O_NOCTTY | O_NONBLOCK); +- if (master >= 0) { +- err = grantpt(master); +- err = err || unlockpt(master); +- if (!err) { +- name = ptsname(master); +- } else { +- exit(-1); +- } +- } else { +- exit(-1); +- } +- close(master); +- exit(0); +-} +- +-_ACEOF +-rm -f conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- cat >>confdefs.h <<\_ACEOF +-#define USE_UNIX98PTYS 1 +-_ACEOF +- +-else +- echo "$as_me: program exited with status $ac_status" >&5 +-echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-( exit $ac_status ) +-{ echo "$as_me:$LINENO: WARNING: \"No unix98ptys\"" >&5 +-echo "$as_me: WARNING: \"No unix98ptys\"" >&2;} +-fi +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- +-fi +- + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ diff --git a/app-mobilephone/gnokii/files/gnokii-bindir.patch b/app-mobilephone/gnokii/files/gnokii-bindir.patch new file mode 100644 index 000000000000..2aa3d54a5ec2 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-bindir.patch @@ -0,0 +1,11 @@ +--- gnokii-0.6.3/Docs/sample/gnokiirc.orig 2004-07-05 00:04:24.000000000 +0200 ++++ gnokii-0.6.3/Docs/sample/gnokiirc 2004-07-23 14:03:12.077771752 +0200 +@@ -91,7 +91,7 @@ + # permissions 4750, owned by root, group gnokii. Ensure you + # are in the gnokii group and that the group exists... + [gnokiid] +-bindir = /usr/local/sbin/ ++bindir = /usr/sbin/ + + # Any entries in the following two sections will be set as environment + # variables when running the scripts. diff --git a/app-mobilephone/gnokii/files/gnokii.desktop b/app-mobilephone/gnokii/files/gnokii.desktop new file mode 100644 index 000000000000..c8d3af50a458 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=gnokii +Comment=Linux/Unix tool suite for Nokia mobile phones +Comment[pl]=Linuksowy/Uniksowy zestaw narzędzi dla telefonów komórkowych Nokia +Icon=gnokii.png +Exec=xgnokii +Terminal=false +Type=Application +Encoding=UTF-8 +Categories=Utility; diff --git a/app-mobilephone/gnokii/gnokii-0.6.3.ebuild b/app-mobilephone/gnokii/gnokii-0.6.3.ebuild new file mode 100644 index 000000000000..64029641a9d6 --- /dev/null +++ b/app-mobilephone/gnokii/gnokii-0.6.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.3.ebuild,v 1.1 2005/05/14 12:28:32 mrness Exp $ + +inherit eutils + +DESCRIPTION="a client that plugs into your handphone" +HOMEPAGE="http://www.gnokii.org/" +SRC_URI="http://www.gnokii.org/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="nls X bluetooth irda sms postgres mysql" + +RDEPEND="X? ( =x11-libs/gtk+-1.2* ) + bluetooth? ( net-wireless/bluez-libs ) + sms? ( postgres? ( dev-db/postgresql ) + mysql? ( dev-db/mysql ) )" +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-bindir.patch + epatch ${FILESDIR}/${PN}-0.6.3-nounix98pty.patch +} + +src_compile() { + econf \ + `use_enable nls` \ + `use_with X x` \ + --enable-security || die "configure failed" + + emake -j1 || die "make failed" + + if use sms + then + cd ${S}/smsd + + if use postgres; then + emake libpq.la || die "smsd make failed" + elif use mysql; then + emake libmysql.la || die "smsd make failed" + else + emake libfile.la || die "smsd make failed" + fi + fi +} + +src_install() { + einstall || die "make install failed" + + dodoc Docs/* + cp -r Docs/sample ${D}/usr/share/doc/${PF}/sample + cp -r Docs/protocol ${D}/usr/share/doc/${PF}/protocol + + doman Docs/man/* + + insinto /etc + doins ${S}/Docs/sample/gnokiirc + + # only one file needs suid root to make a psuedo device + fperms 4755 ${D}/usr/sbin/mgnokiidev + + if use sms + then + cd ${S}/smsd + + einstall || die "smsd make install failed" + fi + + insinto /usr/share/pixmaps + doins ${FILESDIR}/${PN}.png + + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop +} + +pkg_postinst() { + einfo "gnokii does not need it's own group anymore." + einfo "Make sure the user that runs gnokii has read/write access to the device" + einfo "which your phone is connected to. eg. chown <user> /dev/ttyS0" +} diff --git a/app-mobilephone/gnokii/gnokii-0.6.4.ebuild b/app-mobilephone/gnokii/gnokii-0.6.4.ebuild new file mode 100644 index 000000000000..350f49ae1bea --- /dev/null +++ b/app-mobilephone/gnokii/gnokii-0.6.4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.4.ebuild,v 1.1 2005/05/14 12:28:32 mrness Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="a client that plugs into your handphone" +HOMEPAGE="http://www.gnokii.org/" +SRC_URI="http://www.gnokii.org/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ia64 ~ppc ppc64 sparc x86" +IUSE="nls X bluetooth irda sms postgres mysql" + +RDEPEND="X? ( =x11-libs/gtk+-1.2* ) + bluetooth? ( net-wireless/bluez-libs ) + sms? ( postgres? ( dev-db/postgresql ) + mysql? ( dev-db/mysql ) )" +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's:/usr/local/:/usr/:g' Docs/sample/gnokiirc && \ + epatch ${FILESDIR}/${P}-nounix98pty.patch || \ + die "something has changed in this package" +} + +src_compile() { + append-ldflags "-Wl,-z,now" #avoid QA notices + + econf \ + $(use_enable nls) \ + $(use_with X x) \ + --enable-security \ + || die "configure failed" + + emake -j1 || die "make failed" + + if use sms + then + cd ${S}/smsd + + if use postgres; then + emake libpq.la || die "smsd make failed" + elif use mysql; then + emake libmysql.la || die "smsd make failed" + else + emake libfile.la || die "smsd make failed" + fi + fi +} + +src_install() { + einstall || die "make install failed" + + insinto /etc + doins Docs/sample/gnokiirc + + doman Docs/man/* + dodir /usr/share/doc/${PF} + cp -r Docs/sample ${D}/usr/share/doc/${PF}/sample + cp -r Docs/protocol ${D}/usr/share/doc/${PF}/protocol + rm -rf Docs/man Docs/sample Docs/protocol + dodoc Docs/* + + # only one file needs suid root to make a psuedo device + fperms 4755 /usr/sbin/mgnokiidev + + if use sms; then + cd ${S}/smsd + + einstall || die "smsd make install failed" + fi + + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop +} + +pkg_postinst() { + einfo "gnokii does not need it's own group anymore." + einfo "Make sure the user that runs gnokii has read/write access to the device" + einfo "which your phone is connected to. eg. chown <user> /dev/ttyS0" +} diff --git a/app-mobilephone/gnokii/metadata.xml b/app-mobilephone/gnokii/metadata.xml new file mode 100644 index 000000000000..7b9415ebe918 --- /dev/null +++ b/app-mobilephone/gnokii/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile-phone</herd> +<longdescription> +gnokii provides tools and a user space driver for use with mobile phones. +With gnokii you can do such things as make data calls, update your address book, +change calendar entires, send and receive SMS messages and load ring tones +depending on the phone you have. +</longdescription> +</pkgmetadata> |