wok-next view seamonkey/receipt @ rev 21184

aufs-utils: inserted make headers_install
author Hans-G?nter Theisgen
date Sun Sep 22 17:16:53 2019 +0100 (2019-09-22)
parents d5aab818505e
children f796a7c14efd
line source
1 # SliTaz package receipt v2.
3 PACKAGE="seamonkey"
4 VERSION="2.7.2"
5 CATEGORY="network"
6 SHORT_DESC="Seamonkey suite (browser, mail, news reader)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL MPL"
9 WEB_SITE="http://www.seamonkey-project.org/"
11 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev zip libIDL coreutils libxft-dev libevent-dev \
15 libvpx-dev perl alsa-lib alsa-lib-dev findutils python python-dev \
16 wireless_tools-dev mesa-dev yasm libnotify-dev curl-dev hunspell-dev"
18 compile_rules() {
19 cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
20 sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
21 -e 's/0.9.7/1.0.0/' mozilla/configure.in mozilla/configure
22 cat >> mozilla/layout/build/Makefile.in << "EOF"
23 ifdef MOZ_ENABLE_CANVAS
24 EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
25 endif
26 EOF
27 unset CFLAGS
28 unset CXXFLAGS
29 export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey"
30 ./configure $CONFIGURE_ARGS 2>&1 | grep -v 'cthandlers/calendar/Makefile.in' &&
31 make &&
32 make DESTDIR=$install install
33 }
35 genpkg_rules() {
36 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
37 cp -a $install/usr/bin/seamonkey $fs/usr/bin
38 cp -a $install/usr/lib/seamonkey $fs/usr/lib
39 # Home page, bookmarks file and branding.
40 cp -a $stuff/bookmarks.html \
41 $fs/usr/lib/$PACKAGE/defaults/profile
42 # User preference.
43 cp -a $stuff/userChrome.css \
44 $fs/usr/lib/$PACKAGE/defaults/profile/chrome
45 # Move default config to /etc/seamonkey (/usr maybe read-only)
46 mv -f $fs/usr/lib/$PACKAGE/defaults $fs/etc/$PACKAGE
47 ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
48 # Remove unecessary file and set permissions.
49 rm -rf $fs/etc/seamonkey/profile/US
50 chown -R root.root $fs/etc
52 # Create default user preference file
53 cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js
54 DEPENDS="gtk2 glib jpeg libx11 libIDL alsa-lib libxt curl \
55 libnotify libevent libvpx"
56 TAGS="web-browser"
57 }