wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="seamonkey"
4 VERSION="2.53.2"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="Seamonkey suite (browser, mail, news reader)"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL MPL"
10 WEB_SITE="http://www.seamonkey-project.org/"
12 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
13 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
15 BUILD_DEPENDS="alsa-lib alsa-lib-dev coreutils curl-dev findutils gtk2-dev
16 hunspell-dev libIDL libevent-dev libnotify-dev libvpx-dev libxft-dev
17 mesa-dev perl python python-dev wireless_tools-dev yasm zip"
19 compile_rules()
20 {
21 cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
22 sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
23 -e 's/0.9.7/1.0.0/' \
24 mozilla/configure.in \
25 mozilla/configure
26 cat >> mozilla/layout/build/Makefile.in << "EOF"
27 ifdef MOZ_ENABLE_CANVAS
28 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
29 endif
30 EOF
31 unset CFLAGS
32 unset CXXFLAGS
33 export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey"
35 ./configure $CONFIGURE_ARGS 2>&1 | grep -v 'cthandlers/calendar/Makefile.in' &&
36 make &&
37 make DESTDIR=$install install
38 }
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 mkdir -p $fs/usr/lib
44 mkdir -p $fs/etc
46 cp -a $install/usr/bin/seamonkey $fs/usr/bin
47 cp -a $install/usr/lib/seamonkey $fs/usr/lib
49 # Home page, bookmarks file and branding.
50 cp -a $stuff/bookmarks.html \
51 $fs/usr/lib/$PACKAGE/defaults/profile
52 # User preference.
53 cp -a $stuff/userChrome.css \
54 $fs/usr/lib/$PACKAGE/defaults/profile/chrome
56 # Move default configuration to /etc/seamonkey (/usr maybe read-only)
57 mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
58 ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
60 # Remove unnecessary files and set permissions.
61 rm -rf $fs/etc/seamonkey/profile/US
62 chown -R root.root $fs/etc
64 # Create default user preference file
65 cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
67 DEPENDS="alsa-lib curl glib gtk2 jpeg libevent libIDL libnotify
68 libvpx libx11 libxt"
69 }