summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/smsclient/smsclient-2.0.9a.ebuild')
-rw-r--r--app-mobilephone/smsclient/smsclient-2.0.9a.ebuild47
1 files changed, 0 insertions, 47 deletions
diff --git a/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild b/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild
deleted file mode 100644
index 3a61e23bd8d4..000000000000
--- a/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.9a.ebuild,v 1.2 2006/02/25 11:03:12 mrness Exp $
-
-inherit eutils
-
-DESCRIPTION="Utility to send SMS messages to mobile phones and pagers."
-HOMEPAGE="http://www.smsclient.org"
-SRC_URI="http://www.smsclient.org/download/${PN}-${PV%?}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}/${P}-gentoo.patch"
-}
-
-src_compile() {
- rm .configured && ./configure || die "Configure failed"
- make || die "Make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "Install failed"
- dosym sms_client /usr/bin/smsclient
- dosym sms_address /usr/bin/smsaddress
-
- diropts -g dialout -m 0770
- keepdir /var/lock/sms
- diropts
-
- doman docs/sms_client.1
- dodoc Authors Changelog* FAQ README* TODO docs/sms_protocol
-}
-
-pkg_postinst() {
- local MY_LOGFILE="${ROOT}/var/log/smsclient.log"
- [ -f "${MY_LOGFILE}" ] || touch "${MY_LOGFILE}"
- chgrp dialout "${MY_LOGFILE}"
- chmod g+rwx,o-rwx "${MY_LOGFILE}"
-
- einfo "If you run sms_client as normal user, make sure you are member of dialout group."
-}