summaryrefslogtreecommitdiff
path: root/packages/sbagen/sbagen_1.4.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sbagen/sbagen_1.4.1.bb')
-rw-r--r--packages/sbagen/sbagen_1.4.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/sbagen/sbagen_1.4.1.bb b/packages/sbagen/sbagen_1.4.1.bb
index e69de29bb2..7c8604cb13 100644
--- a/packages/sbagen/sbagen_1.4.1.bb
+++ b/packages/sbagen/sbagen_1.4.1.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Binaural tone generation tool."
+HOMEPAGE = "http://uazu.net/sbagen/"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+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}/
+}