Contents of /trunk/core/mailwrapper/mailwrapper-0.2.1-r7.smage2
Parent Directory | Revision Log
Revision 273 -
(show annotations)
(download)
Thu Nov 20 12:08:23 2008 UTC (15 years, 10 months ago) by niro
File size: 852 byte(s)
Thu Nov 20 12:08:23 2008 UTC (15 years, 10 months ago) by niro
File size: 852 byte(s)
-rev bump to 0.2.1-r7
1 | # $Header: /magellan-cvs/smage/mailwrapper/mailwrapper-0.2.1-r6.smage2,v 1.1 2008/02/11 23:09:21 niro Exp $ |
2 | |
3 | PNAME="mailwrapper" |
4 | PVER="0.2.1" |
5 | PBUILD="r7" |
6 | |
7 | PCATEGORIE="net-mail" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Program to invoke an appropriate MTA based on a config file." |
11 | HOMEPAGE="http://www.gentoo.org/" |
12 | |
13 | DEPEND="" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tbz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild mtools |
19 | |
20 | SRC_URI=( |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/mailer.conf |
23 | ) |
24 | |
25 | src_compile() |
26 | { |
27 | cd ${SRCDIR} |
28 | gcc ${CFLAGS} -o mailwrapper mailwrapper.c fparseln.c fgetln.c || die |
29 | } |
30 | |
31 | src_install() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | # needed directories |
36 | minstalldir /usr/sbin || die |
37 | |
38 | # bins |
39 | minstallexec mailwrapper /usr/sbin/sendmail || die |
40 | |
41 | # etc |
42 | minstalletc mailer.conf || die |
43 | |
44 | # man |
45 | minstallman mailer.conf.5 || die |
46 | minstallman mailwrapper.8 || die |
47 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |