wok-6.x rev 22795

recompiled stardict
author Hans-G?nter Theisgen
date Mon Jan 27 09:52:33 2020 +0100 (2020-01-27)
parents c72d83acf68f
children e3c91f2ce71d
files stardict/receipt
line diff
     1.1 --- a/stardict/receipt	Mon Jan 27 09:43:00 2020 +0100
     1.2 +++ b/stardict/receipt	Mon Jan 27 09:52:33 2020 +0100
     1.3 @@ -3,44 +3,46 @@
     1.4  PACKAGE="stardict"
     1.5  VERSION="3.0.1"
     1.6  CATEGORY="utilities"
     1.7 -SHORT_DESC="A powerful international dictionary written in Gtk2"
     1.8 +SHORT_DESC="A powerful international dictionary written in Gtk2."
     1.9  MAINTAINER="lufeng369@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11 +WEB_SITE="http://stardict-4.sourceforge.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://stardict-4.sourceforge.net/"
    1.15  WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
    1.16  
    1.17 -DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
    1.18 -BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
    1.19 -xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
    1.20 +DEPENDS="enchant gtk+ libsigc++ xorg-libSM"
    1.21 +BUILD_DEPENDS="bzip2 enchant-dev gtk+-dev intltool libffi libsigc++-dev \
    1.22 +	popt util-linux-uuid-dev xorg-libSM-dev zlib-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
    1.29 +	sed -i 's/<vector>/&\n#include <stdio.h>/' \
    1.30 +		stardict-plugins/stardict-wordnet-plugin/scene.hpp
    1.31  	patch -p1 < $stuff/sigc++.patch || return 1
    1.32  	patch -p1 < $stuff/stardict_gcc43.patch || return 1
    1.33  
    1.34 -	./configure \
    1.35 -		--prefix=/usr \
    1.36 -		--disable-man \
    1.37 -		--disable-qqwry \
    1.38 -		--sysconfdir=/etc \
    1.39 -		--disable-gnome-support \
    1.40 -		--disable-schemas-install \
    1.41 -		--disable-espeak \
    1.42 -		--disable-gucharmap \
    1.43 -		--disable-festival \
    1.44 -		--disable-advertisement \
    1.45 -		--disable-updateinfo \
    1.46 -	$CONFIGURE_ARGS &&
    1.47 -	make && make DESTDIR=$DESTDIR install
    1.48 +	./configure				\
    1.49 +		--prefix=/usr			\
    1.50 +		--disable-man			\
    1.51 +		--disable-qqwry			\
    1.52 +		--sysconfdir=/etc		\
    1.53 +		--disable-gnome-support		\
    1.54 +		--disable-schemas-install	\
    1.55 +		--disable-espeak		\
    1.56 +		--disable-gucharmap		\
    1.57 +		--disable-festival		\
    1.58 +		--disable-advertisement		\
    1.59 +		--disable-updateinfo		\
    1.60 +		$CONFIGURE_ARGS &&
    1.61 +	make &&
    1.62 +	make DESTDIR=$DESTDIR install
    1.63  }
    1.64  
    1.65  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.66  genpkg_rules()
    1.67  {
    1.68  	mkdir -p $fs/usr
    1.69 -	cp -a $install/usr $fs/
    1.70 +	cp -a $install/usr	$fs
    1.71  }