wok diff stardict/receipt @ rev 15488

Up: firefox-dev (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:28:53 2013 +0100 (2013-11-17)
parents 4921453279b3
children 8d64ce80ab95
line diff
     1.1 --- a/stardict/receipt	Tue May 01 15:07:42 2012 +0200
     1.2 +++ b/stardict/receipt	Sun Nov 17 16:28:53 2013 +0100
     1.3 @@ -5,40 +5,42 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="A powerful international dictionary written in Gtk2"
     1.6  MAINTAINER="lufeng369@gmail.com"
     1.7 -DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
     1.8 -BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
     1.9 -xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
    1.10 +LICENSE="GPL3"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://code.google.com/p/stardict-3/"
    1.13  WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
    1.14  
    1.15 +DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
    1.16 +BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
    1.17 +xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 - cd $src
    1.23 - sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
    1.24 - patch -p1 < $stuff/sigc++.patch || return 1
    1.25 - patch -p1 < $stuff/stardict_gcc43.patch || return 1
    1.26 +	cd $src
    1.27 +	sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
    1.28 +	patch -p1 < $stuff/sigc++.patch || return 1
    1.29 +	patch -p1 < $stuff/stardict_gcc43.patch || return 1
    1.30  
    1.31 - ./configure \
    1.32 - --prefix=/usr \
    1.33 - --disable-man \
    1.34 - --disable-qqwry \
    1.35 - --sysconfdir=/etc \
    1.36 - --disable-gnome-support \
    1.37 - --disable-schemas-install \
    1.38 - --disable-espeak \
    1.39 - --disable-gucharmap \
    1.40 - --disable-festival \
    1.41 - --disable-advertisement \
    1.42 - --disable-updateinfo \
    1.43 - $CONFIGURE_ARGS &&
    1.44 - make && make DESTDIR=$PWD/_pkg install
    1.45 +	./configure \
    1.46 +		--prefix=/usr \
    1.47 +		--disable-man \
    1.48 +		--disable-qqwry \
    1.49 +		--sysconfdir=/etc \
    1.50 +		--disable-gnome-support \
    1.51 +		--disable-schemas-install \
    1.52 +		--disable-espeak \
    1.53 +		--disable-gucharmap \
    1.54 +		--disable-festival \
    1.55 +		--disable-advertisement \
    1.56 +		--disable-updateinfo \
    1.57 +	$CONFIGURE_ARGS &&
    1.58 +	make && make DESTDIR=$DESTDIR install
    1.59  }
    1.60  
    1.61  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.62  genpkg_rules()
    1.63  {
    1.64 - mkdir -p $fs/usr
    1.65 - cp -a $_pkg/usr $fs/
    1.66 +	mkdir -p $fs/usr
    1.67 +	cp -a $install/usr $fs/
    1.68  }