summaryrefslogtreecommitdiff
path: root/packages/sbagen/sbagen_1.4.1.bb
blob: 41918485ed142cc3341b4998351f0cec6b937149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Binaural tone generation tool."
HOMEPAGE = "http://uazu.net/sbagen/"
LICENSE = "GPL"
DEPENDS = "tremor"

SRC_URI = "http://uazu.net/sbagen/sbagen-${PV}.tgz"
S = "${WORKDIR}/sbagen-${PV}"

LIBS = "-lm -lpthread -lvorbisidec"
DEFS = "-DT_LINUX -DOGG_DECODE"
# LIBS = "-lm -lpthread -lmad"
# DEFS = "-DT_LINUX -DMP3_DECODE"

do_compile () {
	${CC} ${CFLAGS} ${DEFS} sbagen.c ${LDFLAGS} -o sbagen ${LIBS}
}

do_install () {
	install -d ${D}${bindir}
	install -m 0755 sbagen ${D}${bindir}/
}