summaryrefslogtreecommitdiff
path: root/packages/ftpd-topfield/ftpd-topfield_0.7.5.bb
blob: 32e5be592874cead14f338c4f4befdb41b4f82db (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
# This package builds the ftpd-topfield program
DESCRIPTION = "ftpd-topfield - FTP access to TopField PVR"
HOMEPAGE = "http://sourceforge.net/projects/puppy"
SECTION = "net"
LICENSE = "MIT"
PR = "r3"

SRC_URI = "cvs://anonymous@puppy.cvs.sourceforge.net/cvsroot/puppy;method=pserver;module=ftpd-topfield;tag=FTPD_TOPFIELD_0_7_5 \
	   cvs://anonymous@puppy.cvs.sourceforge.net/cvsroot/puppy;method=pserver;module=libtopfield;tag=FTPD_TOPFIELD_0_7_5 \
	   file://syslog.patch;patch=1 \
	   file://usb-header-name-2-6-23.patch;patch=1 \
	   file://init"

# The source will end up in the subdirectory 'ftpd-topfield' - no release name
S = "${WORKDIR}/ftpd-topfield"

inherit update-rc.d

INITSCRIPT_NAME = "ftpd-topfield"
INITSCRIPT_PARAMS = "defaults"

# Just the one package at present

inherit autotools

do_compile() {
	oe_runmake
}

do_install() {
	install -d ${D}${sbindir}
	install -m 0755 ${S}/ftpd ${D}${sbindir}/ftpd-topfield
        install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d
        install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ftpd-topfield
}