summaryrefslogtreecommitdiff
path: root/packages/nail/nail_11.21.bb
blob: 5253326cef5bfb7d4ddd9c06e06d671343011bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Enhanced mailx client."
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "openssl"
FILE_PR = "r2"
LICENSE = "GPL"

SRC_URI = "http://optusnet.dl.sourceforge.net/sourceforge/nail/nail-11.21.tar.bz2 \
	   file://nail.spec.diff;patch=1"

S = "${WORKDIR}/nail-11.21/"

inherit autotools

# EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes"

INHIBIT_AUTO_STAGE = "1"

do_install() {
 	install -d ${D}${bindir} ${D}${mandir} ${D}${sysconfdir}
 	install -m 0755 ${S}nail ${D}${bindir}/nail
 	install -m 0644 ${S}nail.1 ${D}${mandir}/nail.1
 	install -m 0644 ${S}nail.rc ${D}${sysconfdir}/nail.rc
}

CONFFILES_${PN} = "${sysconfdir}/nail.rc"