fis: Updated to use nslu2-linux svn source
authorRod Whitby <rod@whitby.id.au>
Sat, 18 Aug 2007 12:50:45 +0000 (12:50 +0000)
committerRod Whitby <rod@whitby.id.au>
Sat, 18 Aug 2007 12:50:45 +0000 (12:50 +0000)
packages/redboot-utils/fis_1.0.bb

index b0d6d76..87246f2 100644 (file)
@@ -1,15 +1,14 @@
 DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
-PR = "r3"
+PR = "r4"
 
-SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.c"
+SRC_URI = "svn://svn.nslu2-linux.org/svnroot/fis;module=trunk;proto=http"
+S="${WORKDIR}/trunk"
 
-do_compile() {
-       ${CC} --std=c99 -Os -W -o fis ${WORKDIR}/fis.c
-}
+export CFLAGS += "--std=c99"
 
 do_install() {
-       ${STRIP} ${WORKDIR}/fis-${PV}/fis
+       ${STRIP} ${S}/fis
 
        install -d ${D}/${sbindir}
-       install -m 755 ${WORKDIR}/fis-${PV}/fis ${D}/${sbindir}
+       install -m 755 ${S}/fis ${D}/${sbindir}
 }