/[gentoo-x86]/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild
Gentoo

Contents of /app-mobilephone/smsclient/smsclient-2.0.8y.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Apr 13 20:18:59 2006 UTC (8 years, 3 months ago) by mrness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove obsolete version.
(Portage version: 2.0.54)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.8y.ebuild,v 1.1 2005/10/18 22:28:04 r3pek Exp $
4
5 inherit eutils
6
7 # Weird name scheme ...
8 MY_PV=${PVR/y/}
9 MY_P=${P/sms/sms_}
10
11 DESCRIPTION="Utility to send sms messages to phones and pagers."
12 HOMEPAGE="http://www.smsclient.org"
13 SRC_URI="http://www.smsclient.org/download/${PN}-${MY_PV}/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~x86"
18 IUSE=""
19 DEPEND=""
20
21 S="${WORKDIR}/${MY_P}"
22
23 src_compile() {
24 ./configure || die "Configure failed"
25 sed -i -e "s/-g -I. -Wall/${CFLAGS} -I./g" Makefile.config || \
26 die "sed failed"
27 make || die "Make failed"
28 }
29
30 src_unpack() {
31 unpack ${A}
32 cd ${S}
33 epatch ${FILESDIR}/${P}_sms-makefile.patch
34 epatch ${FILESDIR}/${P}_client-makefile.patch
35 epatch ${FILESDIR}/${P}_logfile-makefile.patch
36 epatch ${FILESDIR}/${P}_docs-makefile.patch
37 }
38
39
40 src_install() {
41 make DESTDIR=${D} install || die "Install failed"
42 dodir /usr/bin
43 dosym /bin/sms_client /usr/bin/smsclient
44 dosym /bin/sms_address /usr/bin/smsaddress
45 }

  ViewVC Help
Powered by ViewVC 1.1.20