diff options
Diffstat (limited to 'packages/slugimage/slugimage.bb')
-rw-r--r-- | packages/slugimage/slugimage.bb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/slugimage/slugimage.bb b/packages/slugimage/slugimage.bb index 6b672cdc23..d553a21777 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 = "r6" 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}/ } |