wok view stardict/receipt @ rev 18864
gtk-clearlooks: remove post_install()
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jan 31 14:08:53 2016 +0100 (2016-01-31) |
parents | 2b9f96603415 |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/stardict-3/"
11 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
13 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
22 patch -p1 < $stuff/sigc++.patch || return 1
23 patch -p1 < $stuff/stardict_gcc43.patch || return 1
25 ./configure \
26 --prefix=/usr \
27 --disable-man \
28 --disable-qqwry \
29 --sysconfdir=/etc \
30 --disable-gnome-support \
31 --disable-schemas-install \
32 --disable-espeak \
33 --disable-gucharmap \
34 --disable-festival \
35 --disable-advertisement \
36 --disable-updateinfo \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr $fs/
46 }