summaryrefslogtreecommitdiff
path: root/packages/slugtool/slugtool.bb
blob: 302d4a3b27afc91cdad2c6399464866982b842e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}/
}