blob: 5a15548bc9f7cd1954366869621ba4d9e7e2027b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SECTION = "console/network"
DESCRIPTION = "Ddclient is a Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Services"
HOMEPAGE = "http://ddclient.sourceforge.net/"
LICENSE = "GPL"
SRC_URI = "${SOURCEFORGE_MIRROR}/ddclient/ddclient-${PV}.tar.bz2 \
file://ip-up"
RDEPENDS = "perl perl-module-strict perl-module-getopt-long perl-module-vars perl-module-warnings-register perl-module-warnings perl-module-carp perl-module-exporter perl-module-constant perl-module-exporter-heavy perl-module-sys-hostname perl-module-xsloader perl-module-autoloader perl-module-io-socket perl-module-io-handle perl-module-symbol perl-module-selectsaver perl-module-io perl-module-socket perl-module-errno perl-module-config perl-module-io-socket-inet perl-module-io-socket-unix perl-module-integer"
do_install() {
install -d ${D}${sbindir} ${D}${sysconfdir} ${D}${sysconfdir}/init.d
install -d ${D}${sysconfdir}/ppp/ip-up.d/ install -d ${D}${docdir}/ddclient
install -m 755 ${S}/ddclient ${D}${sbindir}
install ${S}/sample-etc_ddclient.conf ${D}${sysconfdir}/ddclient.conf
install -m 755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/ip-up.d/ddclient
install -m 755 ${S}/sample-etc_rc.d_init.d_ddclient ${D}${sysconfdir}/init.d/ddclient
install ${S}/README* ${D}${docdir}/ddclient
install ${S}/COPY* ${D}${docdir}/ddclient
install ${S}/sample* ${D}${docdir}/ddclient
}
CONFFILES_${PN}_nylon = "${sysconfdir}/ddclient.conf"
|