wok-stable annotate seamonkey/receipt @ rev 10802

glib-networking: Fixed it to use offical source url. Please remove source tarball on tank or this package will not build.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 04 08:51:01 2011 +0000 (2011-06-04)
parents a9de629ffc95
children 7bae315c3aac
rev   line source
pankso@2747 1 # SliTaz package receipt.
pankso@2747 2
pankso@2747 3 PACKAGE="seamonkey"
slaxemulator@9655 4 VERSION="2.0.14"
pankso@2747 5 CATEGORY="network"
pankso@2747 6 SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
pankso@2747 7 MAINTAINER="pankso@slitaz.org"
pankso@2747 8 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
slaxemulator@6336 9 DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL alsa-lib xorg-libXt GConf curl"
slaxemulator@8990 10 BUILD_DEPENDS="gtk+-dev zip libIDL coreutils xorg-libXft-dev perl alsa-lib alsa-lib-dev findutils python python-dev curl-dev"
pankso@2747 11 WEB_SITE="http://www.seamonkey-project.org/"
pascal@5484 12 WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
pankso@2747 13
pankso@2747 14 # Rules to configure and make the package.
pankso@2747 15 compile_rules()
pankso@2747 16 {
pascal@8974 17 cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
pankso@2747 18 cd $src
pascal@8974 19 #patch -p1 -i $stuff/google-breakpad.u || exit 1
slaxemulator@8729 20 cat >> mozilla/layout/build/Makefile.in << "EOF"
pankso@2747 21 ifdef MOZ_ENABLE_CANVAS
pankso@2747 22 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
pankso@2747 23 endif
pankso@2747 24 EOF
slaxemulator@8729 25 unset CFLAGS
slaxemulator@8729 26 unset CXXFLAGS
slaxemulator@8729 27
slaxemulator@8729 28 export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-$VERSION"
slaxemulator@8729 29 make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
slaxemulator@8729 30 make -j1 -f client.mk DESTDIR=$DESTDIR install
pankso@2747 31 }
pankso@2747 32
pankso@2747 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2747 34 genpkg_rules()
pankso@2747 35 {
pankso@2747 36 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
pankso@2747 37 cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin
pankso@2747 38 cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib
pankso@2747 39 # Home page, bookmarks file and branding.
pascal@8974 40 cp -a $stuff/bookmarks.html \
pankso@2747 41 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
pankso@2747 42 # User preference.
pascal@8974 43 cp -a $stuff/userChrome.css \
pankso@2747 44 $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
pankso@2747 45 # Move default config to /etc/seamonkey (/usr maybe read-only)
pankso@2747 46 mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
pankso@2747 47 ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
pankso@2747 48 # Remove unecessary file and set permissions.
pankso@2747 49 rm -rf $fs/etc/seamonkey/profile/US
pankso@2747 50 chown -R root.root $fs/etc
erjo@4826 51
erjo@4826 52 # Create default user preference file
pascal@8974 53 cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
erjo@4826 54
pankso@2747 55 }