summaryrefslogtreecommitdiff
path: root/packages/mdk/mdk2_v33.bb
blob: 29629225d05d1b3618b27346aac2c915fbff1d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "console/network"
DESCRIPTION = "ASPj is drunk"
HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
LICENSE = "GPLv2"
DEPENDS = ""
RDEPENDS = ""
FILE_PR ="r1"

SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk2-${PV}.tar.bz2 \
	   file://mdk2-ppcfix.patch"

LDFLAGS_append = " -lpthread"
CFLAGS_append = " -I${STAGING_KERNEL_DIR}/include -O3 -pthread"

oe_compile() {
        oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}"
}

do_install() {
        install -d ${D}/${sbindir}
        install -m 0755 mdk2       ${D}/${sbindir}
}