# Template file for 'libdvbpsi' pkgname=libdvbpsi version=1.1.2 revision=4 build_style=gnu-configure short_desc="PSI decoder and generator library for MPEG2 and DVB streams" homepage="http://www.videolan.org/developers/libdvbpsi.html" license="LGPL-2.1" maintainer="Juan RP " distfiles="http://download.videolan.org/pub/libdvbpsi/${version}/${pkgname}-${version}.tar.bz2" checksum=22436366beaa1bff27b3f6d80e43de1012b16d3b63b1e22d37d4a6fcb5db8933 CFLAGS="-Wno-error=cast-qual" _gccver=$(gcc --version|awk '/^gcc \(GCC\)/ { print $3 }') if [ "${_gccver%%.*}" -gt 5 ]; then # Disable error for gcc6 warning -Wmisleading-indentation CFLAGS+=" -Wno-error=misleading-indentation" fi libdvbpsi-devel_package() { depends="libdvbpsi>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" vmove "usr/lib/*.so" } }