gettext: move gettext shared files to -devel-tools

autopoint wants /usr/share/gettext
This commit is contained in:
Đoàn Trần Công Danh 2021-07-10 00:33:31 +07:00
parent 41ddb827f1
commit e25c7ed595

View file

@ -1,7 +1,7 @@
# Template file for 'gettext'
pkgname=gettext
version=0.21
revision=3
revision=4
build_style=gnu-configure
configure_args="--disable-java --disable-native-java --disable-csharp
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
@ -60,7 +60,7 @@ gettext-devel-examples_package() {
gettext-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
gettext-devel-tools>=${version}_${revision} xz tar"
gettext-devel-tools>=${version}_${revision}"
if [ -n "${_intl_lib}" ]; then
depends+=" gettext-libs>=${version}_${revision}"
fi
@ -73,13 +73,12 @@ gettext-devel_package() {
do
vmove "usr/lib/lib${_lib}.so"
done
vmove usr/share/gettext
vmove usr/share/man/man3
}
}
gettext-devel-tools_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} tar xz"
short_desc+=" - development tools"
pkg_install() {
vmove usr/share/aclocal
@ -87,6 +86,7 @@ gettext-devel-tools_package() {
vmove usr/bin/gettextize
vmove usr/share/man/man1/autopoint.1
vmove usr/share/man/man1/gettextize.1
vmove usr/share/gettext
}
}