wok-next diff emacs/receipt @ rev 15747

Up: dillo (3.0.3) with better integration for JWM flavor
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 03 10:29:30 2014 +0100 (2014-01-03)
parents fa7280bd03b2
children dfef8de3d270
line diff
     1.1 --- a/emacs/receipt	Tue Mar 12 23:02:05 2013 +0100
     1.2 +++ b/emacs/receipt	Fri Jan 03 10:29:30 2014 +0100
     1.3 @@ -5,6 +5,13 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="The GNU Emacs editor"
     1.6  MAINTAINER="domcox@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8 +SUGGESTED="alsa-lib"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.10 +WEB_SITE="http://www.gnu.org/software/emacs/"
    1.11 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12 +TAGS="text-editor"
    1.13 +
    1.14  DEPENDS="atk cairo dbus expat freetype fontconfig giflib glib gnutls gtk+ jpeg \
    1.15  libgio libpng librsvg util-linux-uuid ncurses pango tiff xorg-server zlib \
    1.16  librsvg libgsf"
    1.17 @@ -12,12 +19,6 @@
    1.18  fontconfig-dev giflib-dev glib-dev gnutls-dev gtk+-dev jpeg-dev libgio-dev \
    1.19  libpng-dev librsvg-dev ncurses-dev pango-dev pkg-config tiff-dev xorg-dev \
    1.20  xorg-dev-proto"
    1.21 -SUGGESTED="alsa-lib"
    1.22 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 -WEB_SITE="http://www.gnu.org/software/emacs/"
    1.24 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.25 -#WGET_URL="ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz"
    1.26 -TAGS="text-editor"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 @@ -52,12 +53,12 @@
    1.31  	echo -n "Copying emacs binary files"
    1.32  	mkdir -p $fs/usr/bin && \
    1.33  	for file in $BIN_FILES; do
    1.34 -		cp -a $_pkg/usr/bin/$file $fs/usr/bin
    1.35 +		cp -a $install/usr/bin/$file $fs/usr/bin
    1.36  	done
    1.37  	status
    1.38  	# Lib files
    1.39  	echo -n "Copying emacs lib files"
    1.40 -	cp -a $_pkg/usr/lib $fs/usr
    1.41 +	cp -a $install/usr/lib $fs/usr
    1.42  	status
    1.43  	strip -s $fs/usr/lib/$PACKAGE/$VERSION/i486-pc-linux-gnu/* 2> /dev/null
    1.44  	# lisp files
    1.45 @@ -71,16 +72,16 @@
    1.46  	for dir in $LISP_DIR; do
    1.47  		echo -n "Copying $dir files"
    1.48  		mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \
    1.49 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    1.50 +		cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    1.51  			$fs/usr/share/$PACKAGE/$VERSION/$dir
    1.52 -		if [ $(ls $_pkg/usr/share/$PACKAGE/$VERSION/$dir/ | \
    1.53 +		if [ $(ls $install/usr/share/$PACKAGE/$VERSION/$dir/ | \
    1.54  grep -c \.el$) -gt 0 ]; then
    1.55 -			cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.el \
    1.56 +			cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.el \
    1.57  				$fs/usr/share/$PACKAGE/$VERSION/$dir
    1.58  		fi
    1.59  		for file in COPYING README TODO; do
    1.60 -			if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
    1.61 -				cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file \
    1.62 +			if [ -e $install/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
    1.63 +				cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/$file \
    1.64  					$fs/usr/share/$PACKAGE/$VERSION/$dir
    1.65  			fi
    1.66  		done
    1.67 @@ -91,25 +92,25 @@
    1.68  	echo -n "Copying lisp/term files (linux only)"
    1.69  	mkdir -p $fs/usr/share/$PACKAGE/$VERSION/lisp/term && \
    1.70  	for file in $LINUX_TERM; do
    1.71 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/lisp/term/$file \
    1.72 +		cp -a $install/usr/share/$PACKAGE/$VERSION/lisp/term/$file \
    1.73  			$fs/usr/share/$PACKAGE/$VERSION/lisp/term
    1.74  	done
    1.75  	status
    1.76  	# leim files
    1.77  	echo -n "Copying leim files"
    1.78  	mkdir -p $fs/usr/share/$PACKAGE/$VERSION/leim && \
    1.79 -	cp -a $_pkg/usr/share/$PACKAGE/$VERSION/leim/*.el \
    1.80 +	cp -a $install/usr/share/$PACKAGE/$VERSION/leim/*.el \
    1.81  		$fs/usr/share/$PACKAGE/$VERSION/leim
    1.82  	status
    1.83  	LEIM_FILES="leim/ja-dic leim/quail"
    1.84  	for dir in $LEIM_FILES; do
    1.85  		echo -n "Copying $dir files"
    1.86  		mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir && \
    1.87 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    1.88 +		cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    1.89  			$fs/usr/share/$PACKAGE/$VERSION/$dir && \
    1.90  		for file in COPYING README TODO; do
    1.91 -			if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
    1.92 -				cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file \
    1.93 +			if [ -e $install/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
    1.94 +				cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/$file \
    1.95  					$fs/usr/share/$PACKAGE/$VERSION/$dir
    1.96  			fi
    1.97  		done
    1.98 @@ -122,7 +123,7 @@
    1.99  ps-prin1.ps ses-example.ses spook.lines themes yow.lines"
   1.100  	mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc && \
   1.101  	for file in $CONF_FILES; do
   1.102 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file \
   1.103 +		cp -a $install/usr/share/$PACKAGE/$VERSION/etc/$file \
   1.104  			$fs/usr/share/$PACKAGE/$VERSION/etc
   1.105  	done
   1.106  	status
   1.107 @@ -134,11 +135,11 @@
   1.108  	for dir in $XPM_DIR; do
   1.109  		echo -n "Copying $dir xpm files"
   1.110  		mkdir -p $fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \
   1.111 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.xpm \
   1.112 +		cp -a $install/usr/share/$PACKAGE/$VERSION/etc/$dir/*.xpm \
   1.113  			$fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \
   1.114  		for file in COPYING README TODO; do
   1.115 -			if [ -e $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
   1.116 -				cp -a $_pkg/usr/share/$PACKAGE/$VERSION/$dir/$file \
   1.117 +			if [ -e $install/usr/share/$PACKAGE/$VERSION/$dir/$file ]; then
   1.118 +				cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/$file \
   1.119  					$fs/usr/share/$PACKAGE/$VERSION/$dir
   1.120  			fi
   1.121  		done
   1.122 @@ -148,7 +149,7 @@
   1.123  images/tree-widget/default images/tree-widget/folder"
   1.124  	for dir in $PNG_DIR; do
   1.125  		echo -n "Copying $dir png files"
   1.126 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$dir/*.png \
   1.127 +		cp -a $install/usr/share/$PACKAGE/$VERSION/etc/$dir/*.png \
   1.128  			$fs/usr/share/$PACKAGE/$VERSION/etc/$dir && \
   1.129  		status
   1.130  	done
   1.131 @@ -157,13 +158,13 @@
   1.132  SERVICE copying.paper"
   1.133  	echo -n "Copying License files"
   1.134  	for file in $GNU_FILES; do
   1.135 -		cp -a $_pkg/usr/share/$PACKAGE/$VERSION/etc/$file \
   1.136 +		cp -a $install/usr/share/$PACKAGE/$VERSION/etc/$file \
   1.137  			$fs/usr/share/$PACKAGE/$VERSION/etc
   1.138  	done
   1.139  	status
   1.140  	# Install specific site file
   1.141  	echo -n "Installing specific SliTaz file"
   1.142 -	cp -a $_pkg/usr/share/$PACKAGE/$VERSION/site-lisp \
   1.143 +	cp -a $install/usr/share/$PACKAGE/$VERSION/site-lisp \
   1.144  	   $fs/usr/share/$PACKAGE && \
   1.145  	mkdir -p $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \
   1.146  	cp -a $stuff/default.el $fs/usr/share/$PACKAGE/site-lisp && \
   1.147 @@ -173,8 +174,8 @@
   1.148  	# Install desktop files for emacs
   1.149  	echo -n "Installing emacs menu"
   1.150  	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications && \
   1.151 -	cp -a $_pkg/usr/share/applications $fs/usr/share/ && \
   1.152 -	cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/emacs.png \
   1.153 +	cp -a $install/usr/share/applications $fs/usr/share/ && \
   1.154 +	cp -a $install/usr/share/icons/hicolor/32x32/apps/emacs.png \
   1.155  		$fs/usr/share/pixmaps
   1.156  	status
   1.157  	# Use default site-lisp