X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fhv-install-1;h=7d0f5bddcf9745802bb4b14e735e226777b4b19c;hb=268f9623ef6268273f92d73e04eab0e586a7d488;hp=a0f6897bc5c97ff6bb60571773397909e9857526;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage3/hv-install-1 b/stage3/hv-install-1 index a0f6897..7d0f5bd 100755 --- a/stage3/hv-install-1 +++ b/stage3/hv-install-1 @@ -1,10 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -hvtrap_setup -source ../config/packages-list +source ../functions/main source /etc/profile if [ "x${USER}" != "xroot" ]; then @@ -24,7 +20,7 @@ ipkg -m noac ${PCIUTILS} ipkg -m acnb ${LIBUSB} ipkg ${LIBUSB_COMPAT} ipkg ${USBUTILS} -ipkg ${FCRON} +ipkg -j ${FCRON} ipkg ${OPENSSH} ipkg -s lynx ${LYNX} ipkg ${EXPAT} @@ -33,7 +29,7 @@ ipkg ${APR_UTIL} "--with-apr=/usr/bin/apr-1-config" ipkg ${NEON} "--with-ssl" ipkg -s tcl ${TCL} ipkg ${SQLITE} -ipkg ${SUBVERSION} "--without-berkeley-db" +ipkg -j ${SUBVERSION} "--without-berkeley-db" ipkg ${SUDO} ipkg ${STRACE} ipkg ${PCRE} "--docdir=/usr/share/doc/pcre \ @@ -63,6 +59,7 @@ ipkg ${BIND} "--localstatedir=/var \ ipkg ${IPTABLES} ipkg ${CURL} ipkg ${RSYNC} +ipkg -m noac ${GETDATE} if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then ipkg ${MYSQL} @@ -122,6 +119,76 @@ ipkg -m noac ${LIBMNG} ipkg ${FREETYPE} ipkg ${FONTCONFIG} -echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h" +ipkg -m noac ${CKERMIT} + +ipkg ${LIBTASN1} +ipkg ${GUILE} \ + --enable-posix \ + --disable-static \ + --enable-networking \ + --enable-regex +ipkg ${LIBGPG_ERROR} +ipkg ${LIBGCRYPT} +ipkg -m acnb ${GNUTLS} + +# Mail +ipkg -l "${SASL2}-pass1" -s "cyrus-sasl" ${SASL2} +ipkg ${OPENLDAP} +ipkg -l "${SASL2}-pass2" -s "cyrus-sasl" ${SASL2} +ipkg -s "krb5" ${KERBEROS5} + +if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg -m noac ${SENDMAIL} +else + ipkg -m acnb ${SSMTP} +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 + if [ "x${SOUND_CARD}" = "xyes" ]; then + ipkg -m acnb ${NASM} + + ipkg ${ALSA_LIB} + ipkg -m acnb ${ALSA_UTILS} + + # Audio raw utilities + ipkg ${LIBSAMPLERATE} + + # Audio file formats + ipkg ${LIBOGG} + ipkg ${LIBVORBIS} + ipkg -m acnb ${FLAC} + ipkg ${LAME} + ipkg ${LIBA52} "--enable-shared" + + ipkg ${LIBID3TAG} + ipkg ${LIBMAD} + + ipkg -m acnb ${LIBFAAC} + ipkg -m acnb ${LIBFAAD2} + ipkg ${LIBTHEORA} + ipkg ${XVIDCORE} + + # Audio libraries + ipkg -m acnb ${AUDIOFILE} + ipkg ${PORTAUDIO} + ipkg ${LIBSNDFILE} + + # Audio servers + ipkg ${SPEEX} + ipkg ${JACK} "--disable-portaudio" + + ipkg ${ALSA_PLUGINS} # Depends on pulseaudio + ipkg ${VORBIS_TOOLS} + + ipkg ${MOC} + fi +fi + +write_completed_stage +display_stage_build_stats exit $?