Lines 1-4
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild,v 1.3 2008/11/02 18:57:14 mrness Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild,v 1.3 2008/11/02 18:57:14 mrness Exp $ |
4 |
|
4 |
|
Lines 21-41
Link Here
|
21 |
} |
21 |
} |
22 |
|
22 |
|
23 |
src_compile() { |
23 |
src_compile() { |
24 |
rm .configured && ./configure || die "Configure failed" |
24 |
rm .configured && ./configure || die |
25 |
emake CC="$(tc-getCC)" || die "Make failed" |
25 |
emake CC="$(tc-getCC)" || die |
26 |
} |
26 |
} |
27 |
|
27 |
|
28 |
src_install() { |
28 |
src_install() { |
29 |
make DESTDIR="${D}" install || die "Install failed" |
29 |
make DESTDIR="${D}" install || die |
30 |
dosym sms_client /usr/bin/smsclient |
30 |
dosym sms_client /usr/bin/smsclient || die |
31 |
dosym sms_address /usr/bin/smsaddress |
31 |
dosym sms_address /usr/bin/smsaddress || die |
32 |
|
32 |
|
33 |
diropts -g dialout -m 0770 |
33 |
diropts -g dialout -m 0770 |
34 |
keepdir /var/lock/sms |
34 |
keepdir /var/lock/sms |
35 |
diropts |
35 |
diropts |
36 |
|
36 |
|
37 |
doman docs/sms_client.1 |
37 |
doman docs/sms_client.1 || die |
38 |
dodoc Authors Changelog* FAQ README* TODO docs/sms_protocol |
38 |
dodoc AUTHORS Changelog* FAQ README* TODO docs/sms_protocol || die |
39 |
} |
39 |
} |
40 |
|
40 |
|
41 |
pkg_postinst() { |
41 |
pkg_postinst() { |