wok-next view stardict/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children d457c4e37c1b
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=$install install
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="enchant libsigc++ gtk2 xorg-libSM"
39 }