wok-current view stardict/receipt @ rev 11465

seed: add intltool to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:45:19 2011 +0100 (2011-12-17)
parents 8f46f2d72b1f
children b7319995b37e
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@gmail.com"
8 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
9 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://stardict.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < $stuff/sigc++.patch || return 1
19 patch -p1 < $stuff/stardict_gcc43.patch || return 1
21 ./configure \
22 --prefix=/usr \
23 --disable-man \
24 --disable-qqwry \
25 --sysconfdir=/etc \
26 --disable-gnome-support \
27 --disable-schemas-install \
28 --disable-espeak \
29 --disable-gucharmap \
30 --disable-festival \
31 --disable-advertisement \
32 --disable-updateinfo &&
33 make && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $_pkg/usr $fs/
41 }