aboutsummaryrefslogtreecommitdiff
path: root/media/radio
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2007-10-05 17:32:46 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2007-10-05 17:32:46 +0000
commitb19caf8702054a6814e21597da4ba904a109a35f (patch)
tree45dfeb2d0c696650091e523e032d11c73fd93f7a /media/radio
parent105dce412be0c130dbd46790ac505b80ff85e9da (diff)
downloadmkbuilds-b19caf8702054a6814e21597da4ba904a109a35f.tar.gz
mkbuilds-b19caf8702054a6814e21597da4ba904a109a35f.tar.bz2
gnuradio: explicitly adding boost include path on ./configure
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@14 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'media/radio')
-rw-r--r--media/radio/gnuradio/gnuradio.mkbuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/media/radio/gnuradio/gnuradio.mkbuild b/media/radio/gnuradio/gnuradio.mkbuild
index 20e38ab..00229b9 100644
--- a/media/radio/gnuradio/gnuradio.mkbuild
+++ b/media/radio/gnuradio/gnuradio.mkbuild
@@ -59,6 +59,26 @@
# Sections changes
#------------------
+#>configure
+
+# get boost version
+boost="`basename $(ls /var/log/packages/boost-[0-9]* 2> /dev/null)`"
+
+if [ -z "$boost" ]; then
+ echo Error: missing boost package
+ exit $ERROR_CONF
+fi
+
+pack="`basename $boost | sed -e 's/-[^-]*-[^-]*-[^-]*$//'`"
+boost_version="`echo $boost | sed -e "s/^$pack-//" | cut -d "-" -f 1 | sed -e 's/\./_/g'`"
+
+CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS --with-boost-include-dir=/usr/include/boost-$boost_version || exit $ERROR_CONF
+</configure>
+#<configure
+
#>slackdesc
gnuradio: gnuradio
gnuradio: