1. Moises Henriquez
  2. m0e-vabs

Commits

Moises Henriquez  committed 6025ea5

Seamonkey cleanup slackbuild

  • Participants
  • Parent commits ea3a821
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/seamonkey/src/seamonkey.SlackBuild

View file
  • Ignore whitespace
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"ftp://ftp.mozilla.org/pub/$NAME/releases/$VERSION/source/$NAME-$VERSION.source.tar.bz2"}
-#LINK=${LINK:-"http://releases.mozilla.org/pub/mozilla.org/$NAME/releases/$VERSION/source/$NAME-$VERSION.source.tar.bz2"}  #Enter URL for package here!
-#LINK=${LINK:-"http://202.177.202.154/pub/mozilla.org/$NAME/releases/$VERSION/source/$NAME-$VERSION.source.tar.bz2"}  #Enter URL for package here!
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-#MAKEDEPENDS=${MAKEDEPENDS:-"python-sqlite yasm dbus-glib alsa-lib wireless-tools libnotify harfbuzz ccache gstreamer gst-plugins-base graphite2 icu4c hunspell"} #Add make deps for packaging
 MAKEDEPENDS="libevent hunspell dbus-glib libvpx alsa-lib libogg yasm sqlite libnotify ccache desktop-file-utils startup-notification mesa graphite2 icu4c gstreamer gst-plugins-base python-multiprocessing libjpeg-turbo"
 NUMJOBS=${NUMJOBS:-"-j6"}
 
 echo "Extracting source..."
 # Spare the looooooooong output during decompression
 tar xf $CWD/$NAME-$VERSION.source.tar.* --checkpoint=10000 || exit 1
+echo "Source extracted"
+ls
 #-----------------------------------------------------
 
 
 
 EOF
 
-
-# Work around a glitch where .py files go missing.
-# Don't apply this to future versions...  we'll see how those go then.
-#zcat $CWD/patches/seamonkey_cache_dir.patch.gz | patch -p1 --verbose || exit 1
-
-
-
 #SET PERMISSIONS
 #-----------------------------------------
 echo "Setting permissions..."
 
 echo "Configuring source..."
 
-# Mozilla devs enforce using an objdir for building
-# and launching configure with the absolute path
-# https://developer.mozilla.org/en/Configuring_Build_Options#Building_with_an_objdir
-#mkdir obj
-#cd obj
+##: See mozconfig-vl for confire options.
+
 ccache --max-size 4G
 # Build using mozconfig file
 # Make some changes to mozconfig according to distro
 unset NUMJOBS
 unset CPPFLAGS
 
-make -j1 -f client.mk build || exit 1
+make -f client.mk build || exit 1
 make -C moz-build-dir/suite/installer || exit 1 # moz-build-dir is set in .mozconfig
 
-make -j1 -f client.mk DESTDIR=$PKG install || exit
+make -f client.mk DESTDIR=$PKG install || exit
 
 
 #######################################################################