blob: 729f176a75500623a766bc42c39f0329c95210c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# This package builds the 'upslug' binary upload/flash tool
# for the NSLU2. It is not useful for anything else.
PR = "r1"
DESCRIPTION = "NSLU2 binary upload tool"
HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL-2"
COMPATIBLE_MACHINE = "nslu2"
SRC_TAG = "UPSLUG_${@'_'.join(bb.data.getVar('PV',d,1).split('.'))}"
SRC_URI = "cvs://anonymous@nslu.cvs.sourceforge.net/cvsroot/nslu;method=pserver;module=upslug;tag=${SRC_TAG}"
# For testing use this (tags and other changes take a day to
# propogate on sourceforge). Change 'jbowler' to your login name!
#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/nslu;method=ext;rsh=ssh;tag=${SRC_TAG};module=upslug"
inherit native
S = "${WORKDIR}/upslug"
# Dumb compile script
do_compile() {
oe_runmake "CC=${CC}" "CFLAGS=${CFLAGS}"
}
do_stage() {
oe_runmake "DESTDIR=${STAGING_BINDIR}" install
}
|