]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/stunnel/stunnel.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / stunnel / stunnel.inc
1 SECTION = "console/network"
2 DEPENDS = "openssl"
3 HOMEPAGE = "http://www.stunnel.org"
4 LICENSE = "GPL"
5 DESCRIPTION = "Stunnel is a program that allows you to encrypt \
6 arbitrary TCP connections inside SSL"
7
8 S = "${WORKDIR}/stunnel-${PV}"
9
10 inherit autotools update-rc.d
11
12 INITSCRIPT_NAME = "stunnel"
13 INITSCRIPT_PARAMS = "defaults"
14
15 EXTRA_OECONF = "--with-ssl=${STAGING_LIBDIR}/.. \
16                 --with-random=/dev/urandom \
17                 --with-ptmx \
18                 --without-ptc"
19
20 do_install() {
21         autotools_do_install
22         install -d ${D}${sysconfdir}/stunnel ${D}${sysconfdir}/init.d
23         install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/stunnel
24         install -m 644 ${WORKDIR}/stunnel.conf ${D}${sysconfdir}/stunnel
25 }