wok-4.x view stardict/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 940b5937e496
children 1bb33c02f21c
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 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $_pkg/usr $fs/
42 }