summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-11-13 12:33:18 +0000
committerRod Whitby <rod@whitby.id.au>2006-11-13 12:33:18 +0000
commit279ef404201ddecaf1401b8b412c7128a323179e (patch)
tree9aaefb4e56d81595f0bb55cdb3285ba8faf9e61a /packages
parentb59f722c216b73598c4c5fd7504a94dd966410cb (diff)
slugimage: Updated to use the new SVN repository
Diffstat (limited to 'packages')
-rw-r--r--packages/slugimage/slugimage-native.bb2
-rw-r--r--packages/slugimage/slugimage.bb14
2 files changed, 12 insertions, 4 deletions
diff --git a/packages/slugimage/slugimage-native.bb b/packages/slugimage/slugimage-native.bb
index 81328ae414..8b60ff1b59 100644
--- a/packages/slugimage/slugimage-native.bb
+++ b/packages/slugimage/slugimage-native.bb
@@ -9,5 +9,5 @@ inherit native
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/slugimage-${PV}', '${FILE_DIRNAME}/slugimage', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
do_stage () {
- install -m 0755 slugimage/slugimage ${STAGING_BINDIR}/
+ install -m 0755 slugimage ${STAGING_BINDIR}/
}
diff --git a/packages/slugimage/slugimage.bb b/packages/slugimage/slugimage.bb
index 6b672cdc23..ab61c71927 100644
--- a/packages/slugimage/slugimage.bb
+++ b/packages/slugimage/slugimage.bb
@@ -3,14 +3,22 @@ SECTION = "console/utils"
LICENSE = "BSD"
DESCRIPTION = "Slugimage is a small app to disassemble and reassemble \
flash images for the Linksys NSLU2 device. It also has jffs2 support"
-PR = "r4"
+PR = "r5"
RDEPENDS = "perl"
-SRC_URI = "cvs://anonymous:@nslu.cvs.sourceforge.net/cvsroot/nslu;module=slugimage;tag=SLUGIMAGE_3_2"
+SLUGIMAGE_SVN_REV ?= 77
+SLUGIMAGE_SVN_REPO ?= http://svn.nslu2-linux.org/svnroot/slugimage/trunk
+
+addtask svnfetch before do_configure after do_patch
+
+do_svnfetch() {
+ svn co ${SLUGIMAGE_SVN_REPO} --revision ${SLUGIMAGE_SVN_REV} ${WORKDIR}
+}
+
S = "${WORKDIR}"
do_install () {
install -d ${D}${bindir}
- install -m 0755 slugimage/slugimage ${D}${bindir}/
+ install -m 0755 slugimage ${D}${bindir}/
}