wok-next diff seamonkey/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
line diff
     1.1 --- a/seamonkey/receipt	Sat Dec 22 04:52:35 2018 +0200
     1.2 +++ b/seamonkey/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,24 +1,28 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="seamonkey"
     1.7 -VERSION="2.7.2"
     1.8 +VERSION="2.53.2"
     1.9  CATEGORY="network"
    1.10 +TAGS="web-browser"
    1.11  SHORT_DESC="Seamonkey suite (browser, mail, news reader)"
    1.12 -MAINTAINER="devel@slitaz.org"
    1.13 +MAINTAINER="maintainer@slitaz.org"
    1.14  LICENSE="GPL MPL"
    1.15  WEB_SITE="http://www.seamonkey-project.org/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    1.18  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="gtk2-dev zip libIDL coreutils libxft-dev libevent-dev \
    1.21 -libvpx-dev perl alsa-lib alsa-lib-dev findutils python python-dev \
    1.22 -wireless_tools-dev mesa-dev yasm libnotify-dev curl-dev hunspell-dev"
    1.23 +BUILD_DEPENDS="alsa-lib alsa-lib-dev coreutils curl-dev findutils gtk2-dev 
    1.24 +	hunspell-dev libIDL libevent-dev libnotify-dev libvpx-dev libxft-dev 
    1.25 +	mesa-dev perl python python-dev wireless_tools-dev yasm zip"
    1.26  
    1.27 -compile_rules() {
    1.28 -	cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
    1.29 -	sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
    1.30 -		-e 's/0.9.7/1.0.0/' mozilla/configure.in mozilla/configure
    1.31 +compile_rules()
    1.32 +{
    1.33 +	cp -a $stuff/seamonkey.mozconfig	$src/.mozconfig
    1.34 +	sed -i	-e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
    1.35 +		-e 's/0.9.7/1.0.0/' \
    1.36 +		mozilla/configure.in \
    1.37 +		mozilla/configure
    1.38  	cat >> mozilla/layout/build/Makefile.in << "EOF"
    1.39  ifdef MOZ_ENABLE_CANVAS
    1.40  EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
    1.41 @@ -27,31 +31,39 @@
    1.42  	unset CFLAGS
    1.43  	unset CXXFLAGS
    1.44  	export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey"
    1.45 +
    1.46  	./configure $CONFIGURE_ARGS 2>&1 | grep -v 'cthandlers/calendar/Makefile.in' &&
    1.47  	make &&
    1.48  	make DESTDIR=$install install
    1.49  }
    1.50  
    1.51 -genpkg_rules() {
    1.52 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
    1.53 -	cp -a $install/usr/bin/seamonkey $fs/usr/bin
    1.54 -	cp -a $install/usr/lib/seamonkey $fs/usr/lib
    1.55 +genpkg_rules()
    1.56 +{
    1.57 +	mkdir -p $fs/usr/bin
    1.58 +	mkdir -p $fs/usr/lib
    1.59 +	mkdir -p $fs/etc
    1.60 +
    1.61 +	cp -a $install/usr/bin/seamonkey	$fs/usr/bin
    1.62 +	cp -a $install/usr/lib/seamonkey	$fs/usr/lib
    1.63 +
    1.64  	# Home page, bookmarks file and branding.
    1.65  	cp -a $stuff/bookmarks.html \
    1.66 -		$fs/usr/lib/$PACKAGE/defaults/profile
    1.67 +						$fs/usr/lib/$PACKAGE/defaults/profile
    1.68  	# User preference.
    1.69  	cp -a $stuff/userChrome.css \
    1.70 -		$fs/usr/lib/$PACKAGE/defaults/profile/chrome
    1.71 -	# Move default config to /etc/seamonkey (/usr maybe read-only)
    1.72 -	mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
    1.73 -	ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
    1.74 -	# Remove unecessary file and set permissions.
    1.75 -	rm -rf $fs/etc/seamonkey/profile/US
    1.76 -	chown -R root.root $fs/etc
    1.77 +						$fs/usr/lib/$PACKAGE/defaults/profile/chrome
    1.78 +
    1.79 +	# Move default configuration to /etc/seamonkey (/usr maybe read-only)
    1.80 +	mv -f $fs/usr/lib/$PACKAGE/defaults	$fs/etc/$PACKAGE
    1.81 +	ln -sf /etc/$PACKAGE			$fs/usr/lib/$PACKAGE/defaults
    1.82 +
    1.83 +	# Remove unnecessary files and set permissions.
    1.84 +	rm -rf					$fs/etc/seamonkey/profile/US
    1.85 +	chown -R root.root			$fs/etc
    1.86  
    1.87  	# Create default user preference file
    1.88 -	cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
    1.89 -	DEPENDS="gtk2 glib jpeg libx11 libIDL alsa-lib libxt curl \
    1.90 -	libnotify libevent libvpx"
    1.91 -	TAGS="web-browser"
    1.92 +	cp $stuff/prefs.js			$fs/etc/seamonkey/profile/prefs.js
    1.93 +
    1.94 +	DEPENDS="alsa-lib curl glib gtk2 jpeg libevent libIDL libnotify 
    1.95 +		libvpx libx11 libxt"
    1.96  }