wok-6.x diff thunderbird-bin/receipt @ rev 21612

ffmpegthumbnailer: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 17:32:52 2019 +0200 (2019-05-23)
parents
children da134f47b369
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thunderbird-bin/receipt	Thu May 23 17:32:52 2019 +0200
     1.3 @@ -0,0 +1,51 @@
     1.4 +# SlitTaz package receipt.
     1.5 +
     1.6 +PACKAGE="thunderbird-bin"
     1.7 +VERSION="60.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Mozilla's Thunderbird email application."
    1.10 +MAINTAINER="mojo@slitaz.org"
    1.11 +LICENSE="MPL"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +SOURCE="thunderbird"
    1.14 +WEB_SITE="http://www.mozilla.org/"
    1.15 +WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/en-US/$TARBALL"
    1.16 +
    1.17 +DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
    1.18 +HOST_ARCH="i486"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	# Installation path
    1.24 +	fx='/opt/mozilla/thunderbird-bin'
    1.25 +
    1.26 +	mkdir -p				\
    1.27 +		$install$fx			\
    1.28 +		$install/usr/bin		\
    1.29 +		$install/usr/share/applications	\
    1.30 +		$install/usr/share/pixmaps
    1.31 +	
    1.32 +	# Copy everything
    1.33 +	cp -a $src/* $install$fx
    1.34 +
    1.35 +	# Executable
    1.36 +	ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin
    1.37 +
    1.38 +	# Icon
    1.39 +	cp -a $stuff/thunderbird-bin.png \
    1.40 +		$install/usr/share/pixmaps
    1.41 +	
    1.42 +	# Allow user updates
    1.43 +	chmod -R a+w $install$fx
    1.44 +                   
    1.45 +	# Desktop shortcut
    1.46 +	cp $stuff/thunderbird-bin.desktop \
    1.47 +		$install/usr/share/applications
    1.48 +}
    1.49 +
    1.50 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.51 +genpkg_rules()
    1.52 +{
    1.53 +	cp -a $install/* $fs
    1.54 +}