wok-next view emacs/receipt @ rev 21079

emacs: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 14:46:21 2018 +0200 (2018-12-22)
parents 5669e8b3be70
children 75632eca5b07
line source
1 # SliTaz package receipt v2.
3 PACKAGE="emacs"
4 VERSION="26.1"
5 CATEGORY="editors"
6 SHORT_DESC="The GNU Emacs editor"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/emacs/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev \
15 fontconfig-dev glib-dev gnutls-dev gtk2-dev libjpeg-turbo-dev libpng-dev \
16 librsvg-dev ncurses-dev pango-dev tiff-dev xorg-dev xorg-dev-proto lcms2-dev"
17 # giflib-dev: version 4 needed, add --with-gif=no)
18 SPLIT="$PACKAGE-help $PACKAGE-lisp-sources $PACKAGE $PACKAGE-common"
20 COPY_help="info/ tutorials/ refcards/*.pdf etc/[A-Z]* etc/*.txt"
21 COPY_lisp_sources="*.el.gz refcards/*.tex"
22 COPY_std="bin/ libexec/"
23 COPY_common="@std @rm"
25 DEPENDS_help="emacs"
26 DEPENDS_lisp_sources="emacs"
27 DEPENDS_std="dbus fontconfig freetype gdk-pixbuf glib gtk2 lcms2 libgnutls \
28 libice libpng librsvg libsm libx11 libxaw libxcb libxext libxfixes libxft \
29 libxinerama libxml2 libxmu libxpm libxrandr libxrender libxt ncurses tiff zlib"
30 DEPENDS_common=" "
32 CAT_help="development|help files"
33 CAT_lisp_sources="development|Lisp source files"
34 CAT_common="editors|architecture independent part"
36 SUGGESTED_std="alsa-lib"
37 TAGS_std="text-editor"
39 compile_rules() {
40 ./configure \
41 --without-makeinfo \
42 --without-gconf \
43 --with-gif=no --with-jpeg=no \
44 --with-sound \
45 --with-x \
46 --with-toolkit-scroll-bars \
47 --with-xpm=yes \
48 $CONFIGURE_ARGS &&
49 make $MAKEFLAGS &&
50 make DESTDIR=$install install || return 1
52 # Install specific site file
53 mkdir -p $install/usr/share/emacs/site-lisp/site-start.d
54 cp -a $stuff/default.el \
55 $stuff/site-start.el $install/usr/share/emacs/site-lisp/
56 cp -a $stuff/90-slitaz.el $install/usr/share/emacs/site-lisp/site-start.d
58 # Use default site-lisp
59 ln -s ../site-lisp $install/usr/share/emacs/$VERSION/site-lisp
61 chown -R 0:0 $install
62 find $install -type f -exec chmod g-w '{}' \; # 664->644
63 }