X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fhv-install-1;h=1059d6768b7d451a18f80f15806b289da0f1de7f;hb=45c5a2f834c42e914e684c784988f369118aa31b;hp=6434fe700dd8dfe842ee261e5cfa93089d3bd55e;hpb=8a3ca89281fa60a712e637b2a99dec05322fbe6e;p=hvlinux.git diff --git a/stage3/hv-install-1 b/stage3/hv-install-1 index 6434fe7..1059d67 100755 --- a/stage3/hv-install-1 +++ b/stage3/hv-install-1 @@ -3,11 +3,7 @@ source ../functions/main source /etc/profile -if [ "x${USER}" != "xroot" ]; then - echo "You must be the superuser to install hvlinux." - exit 1 -fi - +check_for_root_user init_log_file ipkg ${WHICH} @@ -28,7 +24,8 @@ ipkg ${APR} "--with-installbuilddir=/usr/lib/apr-1/build" ipkg ${APR_UTIL} "--with-apr=/usr/bin/apr-1-config" ipkg ${NEON} "--with-ssl" ipkg -s tcl ${TCL} -ipkg ${SQLITE} +CFLAGS="${CFLAGS} -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \ + ipkg ${SQLITE} "--enable-threadsafe --enable-readline --enable-dynamic-extensions" ipkg -j ${SUBVERSION} "--without-berkeley-db" ipkg ${SUDO} ipkg ${STRACE} @@ -72,7 +69,6 @@ ipkg -m noac ${UNRAR} ipkg ${CPIO} ipkg ${PARTED} "--disable-device-mapper" -ipkg ${ED} ipkg ${BC} "--with-readline" INIT_D_PATH=/etc/rc.d/init.d \ ipkg -m acnb ${FUSE} @@ -146,12 +142,9 @@ fi ipkg ${GNUPG} "--libexecdir=/usr/lib" ipkg ${MUTT} "--enable-imap --with-ssl --with-sasl" +# Audio if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then - # Audio if [ "x${SOUND_CARD}" = "xyes" ]; then - # Needed by some packages, mostly audio applications. - #ipkg ${LIBOIL} - ipkg -m acnb ${NASM} ipkg ${ALSA_LIB} @@ -165,7 +158,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the ipkg ${LIBVORBIS} ipkg -m acnb ${FLAC} ipkg ${LAME} - ipkg ${LIBA52} "--enable-shared" + CFLAGS="-fPIC ${CFLAGS}" ipkg ${LIBA52} "--enable-shared" ipkg ${LIBID3TAG} ipkg ${LIBMAD} @@ -182,7 +175,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the # Audio servers ipkg ${SPEEX} - ipkg ${JACK} "--disable-portaudio" + ipkg ${JACK} "--disable-portaudio --libdir=/usr/lib" ipkg ${ALSA_PLUGINS} # Depends on pulseaudio ipkg ${VORBIS_TOOLS}