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