wok-next view stardict/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d6378d455338
children d5aab818505e
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 gtk2-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
20 ./configure \
21 --disable-man \
22 --disable-qqwry \
23 --disable-gnome-support \
24 --disable-schemas-install \
25 --disable-espeak \
26 --disable-gucharmap \
27 --disable-festival \
28 --disable-advertisement \
29 --disable-updateinfo \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="enchant libsigc++ gtk2 xorg-libSM"
39 }