wok-6.x diff seamonkey/receipt @ rev 11477
add intltool to build_depends; add xorg-libXi & xorg-libSM to depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | 83dde2fb901c |
children | 74f549cde3eb |
line diff
1.1 --- a/seamonkey/receipt Fri Apr 29 02:42:48 2011 +0000 1.2 +++ b/seamonkey/receipt Sun Dec 18 03:01:59 2011 +0100 1.3 @@ -1,15 +1,17 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="seamonkey" 1.7 -VERSION="2.0.14" 1.8 +VERSION="2.5" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Seamonkey suite (browser, mail, news reader)." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.source.tar.bz2" 1.13 -DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt GConf curl" 1.14 -BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev perl alsa-lib alsa-lib-dev findutils python python-dev curl-dev" 1.15 +DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt curl libnotify libevent libvpx" 1.16 +BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev libevent-dev libvpx-dev \ 1.17 +perl alsa-lib alsa-lib-dev findutils python python-dev wireless_tools-dev mesa-dev \ 1.18 +yasm libnotify-dev curl-dev" 1.19 WEB_SITE="http://www.seamonkey-project.org/" 1.20 -WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL" 1.21 +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 @@ -24,8 +26,9 @@ 1.26 EOF 1.27 unset CFLAGS 1.28 unset CXXFLAGS 1.29 - 1.30 - export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-$VERSION" 1.31 + patch -Np1 -i $stuff/seamonkey-2.0-lang.patch 1.32 + patch -Np1 -i $stuff/seamonkey-install-dir.patch 1.33 + export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey" 1.34 make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" 1.35 make -j1 -f client.mk DESTDIR=$DESTDIR install 1.36 } 1.37 @@ -35,21 +38,20 @@ 1.38 { 1.39 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc 1.40 cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin 1.41 - cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib 1.42 + cp -a $_pkg/usr/lib/seamonkey $fs/usr/lib 1.43 # Home page, bookmarks file and branding. 1.44 cp -a $stuff/bookmarks.html \ 1.45 - $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile 1.46 + $fs/usr/lib/$PACKAGE/defaults/profile 1.47 # User preference. 1.48 cp -a $stuff/userChrome.css \ 1.49 - $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome 1.50 + $fs/usr/lib/$PACKAGE/defaults/profile/chrome 1.51 # Move default config to /etc/seamonkey (/usr maybe read-only) 1.52 - mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE 1.53 - ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults 1.54 + mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE 1.55 + ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults 1.56 # Remove unecessary file and set permissions. 1.57 rm -rf $fs/etc/seamonkey/profile/US 1.58 chown -R root.root $fs/etc 1.59 1.60 # Create default user preference file 1.61 cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js 1.62 - 1.63 }