Add a ton of missing package DESCRIPTION fields.
[vuplus_openembedded] / netkit-base / netkit-base_0.17.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "netkit-base includes the inetd daemon."
4
5 SRC_URI = ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz \
6           file://${FILESDIR}/configure.patch;patch=1 \
7           file://${FILESDIR}/mconfig.patch;patch=1
8
9 EXTRA_OEMAKE = -C inetd
10 do_compile () {
11         oe_runmake 'CC=${CC}' 'LD=${LD}' all
12 }
13
14 do_install () {
15         install -d ${D}/${sysconfdir}/init.d ${D}/${sbindir}
16         install -m 0755 inetd/inetd ${D}/${sbindir}/inetd
17         install -m 0755 ${FILESDIR}/init ${D}/${sysconfdir}/init.d/inetd
18         install -m 0644 ${FILESDIR}/inetd.conf ${D}/${sysconfdir}
19 }
20
21 pkg_postinst () {
22         if test -n "$D"; then
23                 D="-r $D"
24         fi
25         update-rc.d $D inetd start 20 2 3 4 5 . stop 20 0 1 6 .
26 }
27
28 pkg_prerm () {
29         if test -n "$D"; then
30                 D="-r $D"
31         fi
32         update-rc.d $D inetd remove
33 }