wok diff seamonkey-official/receipt @ rev 19979

Add seamonkey-official
author Richard Dunbar <mojo@slitaz.org>
date Tue Jun 13 14:11:14 2017 -0400 (2017-06-13)
parents
children 8a28cf0b51ed
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/seamonkey-official/receipt	Tue Jun 13 14:11:14 2017 -0400
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="seamonkey-official"
     1.7 +VERSION="2.46"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Official Seamonkey build by the seamonkey-project (English language)"
    1.10 +MAINTAINER="mojo@slitaz.org"
    1.11 +LICENSE="MPL2"
    1.12 +WEB_SITE="https://www.seamonkey-project.org"
    1.13 +TARBALL="seamonkey-$VERSION.tar.bz2"
    1.14 +WGET_URL="https://archive.mozilla.org/pub/seamonkey/releases/$VERSION/linux-i686/en-US/$TARBALL"
    1.15 +TAGS="web-browser"
    1.16 +HOST_ARCH="i486"
    1.17 +
    1.18 +DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt curl libnotify \
    1.19 +libevent libvpx"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	# Installation path
    1.25 +	fx='/opt/seamonkey'
    1.26 +
    1.27 +	mkdir -p \
    1.28 +		$install$fx \
    1.29 +		$install/usr/bin \
    1.30 +		$install/usr/share/applications \
    1.31 +		$install/usr/share/pixmaps 
    1.32 +
    1.33 +	# Copy everything
    1.34 +	cp -a $src/* $install$fx
    1.35 +
    1.36 +	# Executable
    1.37 +	ln -s $fx/seamonkey $install/usr/bin/seamonkey-official
    1.38 +
    1.39 +	# Allow user updates (save user's and our traffic)
    1.40 +	chmod -R a+w $install$fx
    1.41 +}
    1.42 +
    1.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 +genpkg_rules()
    1.45 +{
    1.46 +	cp -a $install/* $fs
    1.47 +}