diff options
Diffstat (limited to 'packages/slugtool/slugtool.bb')
-rw-r--r-- | packages/slugtool/slugtool.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/slugtool/slugtool.bb b/packages/slugtool/slugtool.bb index e69de29bb2..6629b158d5 100644 --- a/packages/slugtool/slugtool.bb +++ b/packages/slugtool/slugtool.bb @@ -0,0 +1,18 @@ +SECTION = "unknown" +DESCRIPTION = "Slugtool is a small app to disassemble and reassemble \ +flash images for the Linksys NSLU2 device." +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +PR = "r1" +LICENSE = "GPL" +SRC_URI = "http://www.lantz.com/filemgmt_data/files/slugtool.tar.gz \ + file://redboot_typo.patch;patch=1" +S = "${WORKDIR}" + +do_compile () { + ${CC} ${CFLAGS} ${LDFLAGS} slugtool.c -o slugtool +} + +do_install () { + install -d ${D}/${bindir} + install -m 0755 slugtool ${D}/${bindir}/ +} |