wok-next annotate stardict/receipt @ rev 8865

Fix: gcompris build depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 05:05:54 2011 +0100 (2011-02-26)
parents 1cf37c99304a
children 940b5937e496
rev   line source
lufeng369@7378 1 # SliTaz package receipt.
lufeng369@7378 2
lufeng369@7378 3 PACKAGE="stardict"
lufeng369@7378 4 VERSION="3.0.1"
lufeng369@7378 5 CATEGORY="utilities"
lufeng369@7378 6 SHORT_DESC="A powerful international dictionary written in Gtk2"
lufeng369@7378 7 MAINTAINER="lufeng369@gmail.com"
lufeng369@7378 8 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
lufeng369@7378 9 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev"
lufeng369@7378 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
lufeng369@7378 11 WEB_SITE="http://stardict.sourceforge.net"
lufeng369@7378 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
lufeng369@7378 13
lufeng369@7378 14 # Rules to configure and make the package.
lufeng369@7378 15 compile_rules()
lufeng369@7378 16 {
lufeng369@7379 17 cd $src
lufeng369@7379 18 patch -p1 < ../stuff/sigc++.patch || return 1
lufeng369@7379 19 patch -p1 < ../stuff/stardict_gcc43.patch || return 1
lufeng369@7378 20
lufeng369@7379 21 ./configure \
lufeng369@7379 22 --prefix=/usr \
lufeng369@7379 23 --disable-man \
lufeng369@7379 24 --disable-qqwry \
lufeng369@7379 25 --sysconfdir=/etc \
lufeng369@7379 26 --disable-gnome-support \
lufeng369@7379 27 --disable-schemas-install \
lufeng369@7379 28 --disable-espeak \
lufeng369@7379 29 --disable-gucharmap \
lufeng369@7379 30 --disable-festival \
lufeng369@7379 31 --disable-advertisement \
lufeng369@7379 32 --disable-updateinfo &&
lufeng369@7379 33 make && make DESTDIR=$PWD/_pkg install
lufeng369@7378 34 }
lufeng369@7378 35
lufeng369@7378 36 # Rules to gen a SliTaz package suitable for Tazpkg.
lufeng369@7378 37 genpkg_rules()
lufeng369@7378 38 {
lufeng369@7379 39 mkdir -p $fs/usr
lufeng369@7379 40 cp -a $_pkg/usr $fs/
lufeng369@7378 41 }