gettext-devel: depends on tar

/usr/bin/autopoint: line 497: tar: command not found
This commit is contained in:
Đoàn Trần Công Danh 2020-12-15 16:20:17 +07:00
parent da2cea569c
commit 94942443c2

View file

@ -1,7 +1,7 @@
# Template file for 'gettext'
pkgname=gettext
version=0.21
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-java --disable-native-java --disable-csharp
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
@ -9,6 +9,12 @@ configure_args="--disable-java --disable-native-java --disable-csharp
--with-included-libxml --with-included-libunistring --disable-openmp
--disable-curses --without-examples --enable-nls
gl_cv_func_gettimeofday_clobber=no"
# gettext will try to use xz bzip2 gzip to compress
# /usr/share/gettext/archive.dir.tar.<ext>
# Either:
# - Have xz in hostmakedepends; or
# - Let gettext-devel depends on bzip2
hostmakedepends="xz"
short_desc="Internationalized Message Handling Library and tools"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
@ -23,7 +29,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool"
hostmakedepends+=" automake libtool"
pre_configure() {
autoreconf -fi
}
@ -45,7 +51,7 @@ gettext-devel-examples_package() {
}
}
gettext-devel_package() {
depends="gettext-libs>=${version}_${revision} xz"
depends="gettext-libs>=${version}_${revision} xz tar"
short_desc+=" - development files"
pkg_install() {
vmove usr/include