blob: cc42edb65a2b915e801fe82df22fbc3f1bc96b0f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
DESCRIPTION = "The mgetty package contains an intelligent \
getty for allowing logins over a serial line (such as \
through a modem) and receiving incoming faxes."
SRC_URI = "${DEBIAN_MIRROR}/main/m/mgetty/mgetty_${PV}.orig.tar.gz \
file://debian.patch;patch=1 \
file://00-g3_Makefile;patch=1 \
file://01-adjust-path;patch=1 \
file://02-pending-fix-includes;patch=1 \
file://03-callback_Makefile;patch=1 \
file://04-new_fax.pbm;patch=1 \
file://06-pending-contrib_g3tolj.c;patch=1 \
file://07-pending-contrib_g3toxwd.c;patch=1 \
file://09-doc_Makefile;patch=1 \
file://10-doc_faxrunqd.8in;patch=1 \
file://12-fax_faxrunqd.in;patch=1 \
file://13-fax_faxspool.in;patch=1 \
file://14-frontends_X11_viewfax-2.5_Makefile;patch=1 \
file://23-samples_new_fax.mime4;patch=1 \
file://24-voice_include_paths.h;patch=1 \
file://26-voice_libpvf_usr.c;patch=1 \
file://36-voice_voice.conf-dist;patch=1 \
file://37-Makefile;patch=1 \
file://39-mgetty.cfg.in;patch=1 \
file://40-locks.c_bug153394;patch=1 \
file://41-ugly-redo-ring.c_bug128668;patch=1 \
file://42-voice_libvoice_detect.c;patch=1 \
file://43-moreinfo-cnd.c_bug112163;patch=1 \
file://44-pending-faxexpand.h_bug169455;patch=1 \
file://45-logfile.c;patch=1 \
file://47-doc_mgetty.texi-in;patch=1 \
file://50-pending-voice-zoom-2949l-c;patch=1 \
file://51-pending-faxq-time;patch=1 \
file://52-pending-metamail;patch=1 \
file://install.patch;patch=1 \
file://voice-defs.h"
do_compile () {
cp ${WORKDIR}/policy.h ${WORKDIR}/voice-defs.h .
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
-I.. -DBINDIR=\"${bindir}\" -DSBINDIR=\"${sbindir}\" \
-DLIBDIR=\"${libdir}/mgetty-fax\" \
-DCONFDIR=\"${sysconfdir}/mgetty\" \
-DFAX_SPOOL=\"/var/spool/fax\" \
-DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \
-DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \
-DFAX_OUT_USER=\"uucp\" \
-DVARRUNDIR=\"/var/run\" \
-DAWK=\"awk\" \
-DPERL=\""/usr/bin/perl -w"\" -DTKPERL=\"/usr/bin/tkperl\" \
-DECHO=\""echo -e"\" \
-DSHELL=\"/bin/bash\" \
-o mksed mksed.c
./mksed >sedscript
chmod u+x sedscript
oe_runmake
oe_runmake vgetty
# cd doc; $(MAKE) manpages mgetty.info $(GCC)
# cd contrib; $(MAKE) g3toxwd g3tolj
# cd $(VFDIR); $(MAKE)
}
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
|