wok-next annotate emacs/receipt @ rev 21268

updated frogatto (1.3.1 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Dec 06 17:30:20 2019 +0100 (2019-12-06)
parents 943dad97e470
children
rev   line source
pascal@20079 1 # SliTaz package receipt v2.
domcox@1046 2
domcox@1046 3 PACKAGE="emacs"
al@21071 4 VERSION="26.1"
pascal@18559 5 CATEGORY="editors"
domcox@1046 6 SHORT_DESC="The GNU Emacs editor"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@20085 9 WEB_SITE="http://www.gnu.org/software/emacs/"
al@20085 10
pascal@14999 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@14999 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@14999 13
al@21094 14 COOKOPTS="force-arch" # different .el.gz in emacs-lisp-sources
al@21094 15
domcox@14082 16 BUILD_DEPENDS="atk-dev cairo-dev expat-dev dbus-dev freetype-dev \
al@21078 17 fontconfig-dev glib-dev gnutls-dev gtk2-dev libjpeg-turbo-dev libpng-dev \
al@21071 18 librsvg-dev ncurses-dev pango-dev tiff-dev xorg-dev xorg-dev-proto lcms2-dev"
al@21071 19 # giflib-dev: version 4 needed, add --with-gif=no)
al@21071 20 SPLIT="$PACKAGE-help $PACKAGE-lisp-sources $PACKAGE $PACKAGE-common"
al@21071 21
al@21071 22 COPY_help="info/ tutorials/ refcards/*.pdf etc/[A-Z]* etc/*.txt"
al@21071 23 COPY_lisp_sources="*.el.gz refcards/*.tex"
al@21071 24 COPY_std="bin/ libexec/"
al@21071 25 COPY_common="@std @rm"
al@21071 26
al@21071 27 DEPENDS_help="emacs"
al@21071 28 DEPENDS_lisp_sources="emacs"
al@21103 29 DEPENDS_std="$PACKAGE-common dbus fontconfig freetype gdk-pixbuf glib gtk2 \
al@21143 30 liblcms2 libgnutls libice libpng librsvg libsm libx11 libxaw libxcb libxext \
al@21103 31 libxfixes libxft libxinerama libxml2 libxmu libxpm libxrandr libxrender libxt \
al@21103 32 ncurses libtiff zlib"
al@21071 33 DEPENDS_common=" "
al@21071 34
al@21071 35 CAT_help="development|help files"
al@21071 36 CAT_lisp_sources="development|Lisp source files"
al@21071 37 CAT_common="editors|architecture independent part"
al@21071 38
al@21071 39 SUGGESTED_std="alsa-lib"
al@21071 40 TAGS_std="text-editor"
domcox@1046 41
al@20085 42 compile_rules() {
al@20085 43 ./configure \
domcox@3938 44 --without-makeinfo \
domcox@7830 45 --without-gconf \
psychomaniak@20015 46 --with-gif=no --with-jpeg=no \
domcox@3938 47 --with-sound \
domcox@3938 48 --with-x \
domcox@3938 49 --with-toolkit-scroll-bars \
domcox@3938 50 --with-xpm=yes \
al@20085 51 $CONFIGURE_ARGS &&
al@20085 52 make $MAKEFLAGS &&
al@21020 53 make DESTDIR=$install install || return 1
al@20085 54
al@20085 55 # Install specific site file
al@20085 56 mkdir -p $install/usr/share/emacs/site-lisp/site-start.d
al@20085 57 cp -a $stuff/default.el \
al@20085 58 $stuff/site-start.el $install/usr/share/emacs/site-lisp/
al@20085 59 cp -a $stuff/90-slitaz.el $install/usr/share/emacs/site-lisp/site-start.d
al@20085 60
al@20085 61 # Use default site-lisp
al@20085 62 ln -s ../site-lisp $install/usr/share/emacs/$VERSION/site-lisp
al@20085 63
al@21071 64 chown -R 0:0 $install
al@21071 65 find $install -type f -exec chmod g-w '{}' \; # 664->644
domcox@1046 66 }