wok-6.x view stardict/receipt @ rev 12188

Add libgee (may be used in SliTaz Vala apps)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 26 01:24:43 2012 +0200 (2012-03-26)
parents b7319995b37e
children 73641efed1cc
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 \
10 xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev libffi"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://stardict.sourceforge.net"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p1 < $stuff/sigc++.patch || return 1
20 patch -p1 < $stuff/stardict_gcc43.patch || return 1
22 ./configure \
23 --prefix=/usr \
24 --disable-man \
25 --disable-qqwry \
26 --sysconfdir=/etc \
27 --disable-gnome-support \
28 --disable-schemas-install \
29 --disable-espeak \
30 --disable-gucharmap \
31 --disable-festival \
32 --disable-advertisement \
33 --disable-updateinfo \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $_pkg/usr $fs/
43 }