wok-next view stardict/receipt @ rev 20875
Fix bastet, cherokee
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 06 12:59:08 2018 +0300 (2018-07-06) |
parents | 10df65db91ad |
children | f48456621a9d |
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
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++ gtk+ xorg-libSM"
39 }