diff core/attr/attr.info @ 86:b00538982dce

core/attr: add NLS option and cleanup
author David Demelier <markand@malikania.fr>
date Thu, 07 Mar 2019 20:21:00 +0100
parents 0468f47a45ce
children
line wrap: on
line diff
--- a/core/attr/attr.info	Thu Mar 07 20:19:00 2019 +0100
+++ b/core/attr/attr.info	Thu Mar 07 20:21:00 2019 +0100
@@ -21,3 +21,8 @@
 PKGLICENSE="GPLv2+"
 PKGSUMMARY="extended attribute support library"
 PKGDOWNLOAD="https://download.savannah.gnu.org/releases/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz"
+PKGOPTIONS="NLS"
+
+if [ "${NLS:-yes}" = "yes" ]; then
+	PKGDEPENDS="core/gettext $PKGDEPENDS"
+fi