diff core/xz/xz.info @ 91:c430ad34da57

core/xz: add NLS option and cleanup
author David Demelier <markand@malikania.fr>
date Thu, 07 Mar 2019 20:36:00 +0100
parents 84adb4e6e761
children
line wrap: on
line diff
--- a/core/xz/xz.info	Thu Mar 07 20:30:00 2019 +0100
+++ b/core/xz/xz.info	Thu Mar 07 20:36:00 2019 +0100
@@ -21,3 +21,8 @@
 PKGLICENSE="LGPLv21 GPLv2 GPLv3"
 PKGSUMMARY="XZ and LZMA compression tools"
 PKGDOWNLOAD="https://tukaani.org/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz"
+PKGOPTIONS="NLS"
+
+if [ "${NLS:-yes}" = "yes" ]; then
+	PKGDEPENDS="core/gettext $PKGDEPENDS"
+fi