diff options
author | 2013-01-27 17:51:35 +0200 | |
---|---|---|
committer | 2013-01-27 20:01:10 +0200 | |
commit | a6822ffd018a67c97bb37fb1eeb23adaf2704602 (patch) | |
tree | b9072f33c0b9df6802a95b47f46b554fba6813b8 /exlibs | |
parent | bb6f2db19389a00b8bd558423eaa4172d0f3a211 (diff) | |
download | media-a6822ffd018a67c97bb37fb1eeb23adaf2704602.tar.gz media-a6822ffd018a67c97bb37fb1eeb23adaf2704602.tar.xz |
New exheres drobilla.exlib for drobilla.net software
Diffstat (limited to 'exlibs')
-rw-r--r-- | exlibs/drobilla.exlib | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/exlibs/drobilla.exlib b/exlibs/drobilla.exlib new file mode 100644 index 0000000..23aaba2 --- /dev/null +++ b/exlibs/drobilla.exlib @@ -0,0 +1,57 @@ +# Copyright 2013 Ali Polatel <alip@exherbo.org> +# Based in part upon suil-0.6.10.ebuild which is +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# +# Common functions for drobilla.net software: +# dev-libs/serd +# dev-libs/sord +# media-libs/sratom +# media-libs/suil +# media-libs/lilv +# + +require waf + +export_exlib_phases src_prepare src_configure src_test + +HOMEPAGE="http://drobilla.net/software/${PN}/" +DOWNLOADS="http://download.drobilla.net/${PNV}.tar.bz2" + +LICENCES="ISC" +MYOPTIONS+="doc" + +DEPENDENCIES+=" + build: + doc? ( app-doc/doxygen ) +" + +BUGS_TO="alip@exherbo.org" + +drobilla_src_prepare() { + default + + if [[ -e wscript ]]; then + edo sed -i \ + -e 's/^.*run_ldconfig/#\0/' \ + wscript + fi +} + +drobilla_src_configure() { + ewaf --jobs=1 configure \ + --prefix=/usr/ \ + --bindir=/usr/bin/ \ + --libdir=/usr/${LIBDIR}/ \ + --datadir=/usr/share/ \ + --docdir=/usr/share/doc/${PNVR} \ + --static \ + $(if option doc; then echo --docs; fi) \ + "${DROBILLA_SRC_CONFIGURE_PARAMS[@]}" +} + +drobilla_src_test() { + ewaf --jobs=${EXJOBS:-1} -v test +} + |