wok-next view stardict/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 8d64ce80ab95
children 10df65db91ad
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 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
40 }