wok view stardict/receipt @ rev 22757

updated ffmpegthumbnailer and ffmpegthumbnailer-dev (2.2.0 -> 2.2.2)
author Hans-G?nter Theisgen
date Fri Jan 24 16:35:42 2020 +0100 (2020-01-24)
parents 6135577f4d08
children ed3f388d2297
line source
1 # SliTaz package receipt.
3 PACKAGE="stardict"
4 VERSION="3.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="A powerful international dictionary written in Gtk2"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://stardict-4.sourceforge.net/"
11 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
13 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
14 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
15 xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
22 patch -p1 < $stuff/sigc++.patch || return 1
23 patch -p1 < $stuff/stardict_gcc43.patch || return 1
25 ./configure \
26 --prefix=/usr \
27 --disable-man \
28 --disable-qqwry \
29 --sysconfdir=/etc \
30 --disable-gnome-support \
31 --disable-schemas-install \
32 --disable-espeak \
33 --disable-gucharmap \
34 --disable-festival \
35 --disable-advertisement \
36 --disable-updateinfo \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr $fs/
46 }