wok-next view emacs/receipt @ rev 21480

updated aircrack-ng (1.4 -> 1.6)
author Hans-G?nter Theisgen
date Thu Jun 18 14:12:59 2020 +0100 (2020-06-18)
parents 943dad97e470
children
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 COOKOPTS="force-arch" # different .el.gz in emacs-lisp-sources
16 BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev \
17 fontconfig-dev glib-dev gnutls-dev gtk2-dev libjpeg-turbo-dev libpng-dev \
18 librsvg-dev ncurses-dev pango-dev tiff-dev xorg-dev xorg-dev-proto lcms2-dev"
19 # giflib-dev: version 4 needed, add --with-gif=no)
20 SPLIT="$PACKAGE-help $PACKAGE-lisp-sources $PACKAGE $PACKAGE-common"
22 COPY_help="info/ tutorials/ refcards/*.pdf etc/[A-Z]* etc/*.txt"
23 COPY_lisp_sources="*.el.gz refcards/*.tex"
24 COPY_std="bin/ libexec/"
25 COPY_common="@std @rm"
27 DEPENDS_help="emacs"
28 DEPENDS_lisp_sources="emacs"
29 DEPENDS_std="$PACKAGE-common dbus fontconfig freetype gdk-pixbuf glib gtk2 \
30 liblcms2 libgnutls libice libpng librsvg libsm libx11 libxaw libxcb libxext \
31 libxfixes libxft libxinerama libxml2 libxmu libxpm libxrandr libxrender libxt \
32 ncurses libtiff zlib"
33 DEPENDS_common=" "
35 CAT_help="development|help files"
36 CAT_lisp_sources="development|Lisp source files"
37 CAT_common="editors|architecture independent part"
39 SUGGESTED_std="alsa-lib"
40 TAGS_std="text-editor"
42 compile_rules() {
43 ./configure \
44 --without-makeinfo \
45 --without-gconf \
46 --with-gif=no --with-jpeg=no \
47 --with-sound \
48 --with-x \
49 --with-toolkit-scroll-bars \
50 --with-xpm=yes \
51 $CONFIGURE_ARGS &&
52 make $MAKEFLAGS &&
53 make DESTDIR=$install install || return 1
55 # Install specific site file
56 mkdir -p $install/usr/share/emacs/site-lisp/site-start.d
57 cp -a $stuff/default.el \
58 $stuff/site-start.el $install/usr/share/emacs/site-lisp/
59 cp -a $stuff/90-slitaz.el $install/usr/share/emacs/site-lisp/site-start.d
61 # Use default site-lisp
62 ln -s ../site-lisp $install/usr/share/emacs/$VERSION/site-lisp
64 chown -R 0:0 $install
65 find $install -type f -exec chmod g-w '{}' \; # 664->644
66 }