aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-03-16 11:28:17 -0700
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:38 +0200
commitda249b5d38cd175a54e29622ded94a226a00477f (patch)
tree05e5630addf775c909bd666d3bc93c77ea7f890f /recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb
parentb9ef48a463f2d156e639b664cc0f2bf1a51a3a5b (diff)
downloadopenembedded-da249b5d38cd175a54e29622ded94a226a00477f.tar.gz
openembedded-da249b5d38cd175a54e29622ded94a226a00477f.tar.bz2
openembedded-da249b5d38cd175a54e29622ded94a226a00477f.zip
ftpd-topfield: Rework usb-header-name-2-6-23.patch
While in here, clean up the recipe a bit. It's not autotools based and if we move the library in with an unpack2 the patch can be applied with striplevel=0. There are other problems with this recipe at present (CFLAGS/LDFLAGS in our env override the Makefile). Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb')
-rwxr-xr-xrecipes/ftpd-topfield/ftpd-topfield_0.7.5.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb b/recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb
index 504f652393..b1dee21d5a 100755
--- a/recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb
+++ b/recipes/ftpd-topfield/ftpd-topfield_0.7.5.bb
@@ -8,7 +8,7 @@ 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 \
- file://usb-header-name-2-6-23.patch \
+ file://usb-header-name-2-6-23.patch;striplevel=0 \
file://init"
# The source will end up in the subdirectory 'ftpd-topfield' - no release name
@@ -19,9 +19,12 @@ inherit update-rc.d
INITSCRIPT_NAME = "ftpd-topfield"
INITSCRIPT_PARAMS = "defaults"
-# Just the one package at present
+do_unpack2() {
+ cd ${WORKDIR}
+ mv libtopfield ${S}/
+}
-inherit autotools
+addtask unpack2 after do_unpack before do_patch
do_compile() {
oe_runmake