void-packages/srcpkgs/libomxil-bellagio/template

36 lines
976 B
Bash

# Template file for 'libomxil-bellagio'
pkgname=libomxil-bellagio
version=0.9.3
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool doxygen"
short_desc="Opensource implementation of the OpenMAX Integration Layer API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://omxil.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/omxil/omxil/Bellagio%20${version}/libomxil-bellagio-${version}.tar.gz"
checksum=593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c
CFLAGS="-fcommon"
pre_configure() {
vsed -e 's/-Werror//g' -i configure.ac
autoreconf -fi
}
post_install() {
vcopy doc/libomxil-bellagio/html usr/share/doc/libomxil-bellagio/
}
libomxil-bellagio-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}