wok-next view stardict/receipt @ rev 20655

Up boxbackup (0.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 14:33:10 2018 +0300 (2018-05-04)
parents 757d032c55c7
children d6378d455338
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://code.google.com/p/stardict-3/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
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 compile_rules() {
18 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
19 patch -p1 < $stuff/sigc++.patch || return 1
20 patch -p1 < $stuff/stardict_gcc43.patch || return 1
22 ./configure \
23 --disable-man \
24 --disable-qqwry \
25 --disable-gnome-support \
26 --disable-schemas-install \
27 --disable-espeak \
28 --disable-gucharmap \
29 --disable-festival \
30 --disable-advertisement \
31 --disable-updateinfo \
32 $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules() {
39 copy @std
40 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
41 }