diff core/lvm2/lvm2.sh @ 1094:3dece1f7570b

vanilla: add many ghost dependencies
author David Demelier <markand@malikania.fr>
date Mon, 09 Sep 2019 21:10:00 +0200
parents ddab65a5b3f5
children 7791d3dbfecf
line wrap: on
line diff
--- a/core/lvm2/lvm2.sh	Mon Sep 09 21:05:00 2019 +0200
+++ b/core/lvm2/lvm2.sh	Mon Sep 09 21:10:00 2019 +0200
@@ -21,8 +21,8 @@
 PKGLICENSE="GPLv2 LGPLv21"
 PKGSUMMARY="LVM utilities"
 PKGDOWNLOAD="https://mirrors.kernel.org/sourceware/$PKGNAME/LVM2.$PKGVERSION.tgz"
-PKGDEPENDS="libaio"
-PKGOPTIONS="READLINE"
+PKGDEPENDS="eudev libaio util-linux"
+PKGOPTIONS="COMPLETION"
 
 : ${CHOST:=$(uname -m)-linux-musl}
 : ${CBUILD:=$(uname -m)-linux-musl}
@@ -30,13 +30,13 @@
 : ${CFLAGS:=-O2}
 : ${LDFLAGS:=}
 : ${LIBS:=}
-: ${READLINE:=yes}
+: ${COMPLETION:=yes}
 
-if [ "$READLINE" = "yes" ]; then
+if [ "$COMPLETION" = "yes" ]; then
 	PKGDEPENDS="readline $PKGDEPENDS"
-	with_readline="--enable-readline"
+	with_completion="--enable-readline"
 else
-	with_readline="--disable-readline"
+	with_completion="--disable-readline"
 fi
 
 build()
@@ -62,7 +62,7 @@
 		--enable-pkgconfig \
 		--enable-udev_rules \
 		--enable-udev_sync \
-		$with_readline
+		$with_completion
 	make
 	make install DESTDIR=$DESTDIR