diff --git a/srcpkgs/ytnef/template b/srcpkgs/ytnef/template index 622e9331b1a..f5fb3819434 100644 --- a/srcpkgs/ytnef/template +++ b/srcpkgs/ytnef/template @@ -1,12 +1,12 @@ # Template file for 'ytnef' pkgname=ytnef version=1.9.2 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="automake libtool" short_desc="Yerase's TNEF Stream Reader" maintainer="Jürgen Buchmüller " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://github.com/Yeraze/ytnef" distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=48f7d7272ba74b267d3f98a1b14c81fef54cfb53460346d7c36a9604df1f95ad @@ -16,7 +16,7 @@ pre_configure() { } do_build() { - if [ -n "$CROSS_BUILD" ]; then + if [ "$CROSS_BUILD" ]; then configure_args+=" --host=${XBPS_TARGET_MACHINE}" export ac_cv_func_malloc_0_nonnull=yes fi @@ -42,10 +42,11 @@ do_install() { ytnef-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}>=${version}_${revision}" + depends="${sourcepkg}-${version}_${revision}" pkg_install() { vmove usr/include - vmove usr/lib/*.a - vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } }