Update gettext for new ipkg() -d option
[hvlinux.git] / stage1 / hv-install-2
index c804216..dcd147d 100755 (executable)
@@ -8,21 +8,12 @@ init_log_file
 
 # Building temporary system
 
-HOST_CC=gcc CPPFLAGS=-fexceptions \
-    ipkg ${GMP} "--enable-cxx"
-ipkg ${MPFR} "--enable-shared"
+ipkg ${GMP} "--enable-cxx"
+ipkg ${MPFR}
 ipkg ${MPC}
-ipkg ${PPL} "\
-    --enable-shared \
-    --enable-interfaces=c,cxx \
-    --disable-optimization \
-    --with-libgmp-prefix=/tools \
-    --with-libgmpxx-prefix=/tools"
-ipkg ${CLOOG_PPL} "\
-    --enable-shared \
-    --with-bits=gmp \
-    --with-gmp=/tools \
-    --with-ppl=/tools"
+ipkg ${ISL}
+ipkg ${CLOOG} "\
+    --with-isl=system"
 ipkg -m acnb ${ZLIB}
 ipkg ${BINUTILS}
 ipkg ${GCC}
@@ -35,13 +26,13 @@ ipkg ${NCURSES} "\
 ipkg ${BASH} "--without-bash-malloc"
 ipkg ${BISON}
 ipkg -m noac ${BZIP2}
-ipkg ${COREUTILS} "--enable-install-program=hostname"
+ipkg -m acnb -j ${COREUTILS} "--enable-install-program=hostname"
 ipkg ${DIFFUTILS}
 ipkg ${FINDUTILS}
 ipkg ${FILE_PKG}
 ipkg ${FLEX}
 ipkg ${GAWK}
-ipkg ${GETTEXT}
+ipkg -d gettext-tools ${GETTEXT} "--disable-shared"
 ipkg ${GREP} "\
     --disable-perl-regexp \
     --without-included-regex"
@@ -59,11 +50,21 @@ rscr once "Creating directory structure" create-directories
 rscr once "Creating symbolic links" create-symlinks
 
 ipkg ${NANO} "--enable-color --enable-multibuffer"
-ipkg ${UTIL_LINUX}
-ipkg ${E2FSPROGS}
+PKG_CONFIG=true \
+    ipkg ${UTIL_LINUX} "\
+        --exec-prefix=/tools \
+        --disable-login \
+        --disable-sulogin \
+        --disable-su \
+        --disable-makeinstall-chown"
+ipkg -i ${LFS} ${SHADOW} "\
+    --sysconfdir=/etc \
+    --cache-file=config.cache"
+LDFLAGS="-Wl,-lpthread,-ldl" \
+    ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
-ipkg ${MODULE_INIT_TOOLS}
-ipkg ${UDEV}
+ipkg -i ${LFS} ${KMOD} "--bindir=/bin"
+ipkg ${EUDEV}
 ipkg -c -m noac ${KERNEL}
 
 rscr once "Creating default users" create-users