wok annotate stardict/receipt @ rev 18682
Add mps-youtube (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:50:42 2015 +0100 (2015-12-09) |
parents | 2b9f96603415 |
children | 6135577f4d08 |
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" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
lufeng369@7378 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12620 | 10 WEB_SITE="http://code.google.com/p/stardict-3/" |
pascal@12620 | 11 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL" |
lufeng369@7378 | 12 |
pascal@14999 | 13 DEPENDS="enchant libsigc++ gtk+ xorg-libSM" |
pascal@14999 | 14 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \ |
pascal@14999 | 15 xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi" |
pascal@14999 | 16 |
lufeng369@7378 | 17 # Rules to configure and make the package. |
lufeng369@7378 | 18 compile_rules() |
lufeng369@7378 | 19 { |
pascal@14999 | 20 cd $src |
pascal@14999 | 21 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp |
pascal@14999 | 22 patch -p1 < $stuff/sigc++.patch || return 1 |
pascal@14999 | 23 patch -p1 < $stuff/stardict_gcc43.patch || return 1 |
lufeng369@7378 | 24 |
pascal@14999 | 25 ./configure \ |
pascal@14999 | 26 --prefix=/usr \ |
pascal@14999 | 27 --disable-man \ |
pascal@14999 | 28 --disable-qqwry \ |
pascal@14999 | 29 --sysconfdir=/etc \ |
pascal@14999 | 30 --disable-gnome-support \ |
pascal@14999 | 31 --disable-schemas-install \ |
pascal@14999 | 32 --disable-espeak \ |
pascal@14999 | 33 --disable-gucharmap \ |
pascal@14999 | 34 --disable-festival \ |
pascal@14999 | 35 --disable-advertisement \ |
pascal@14999 | 36 --disable-updateinfo \ |
pascal@14999 | 37 $CONFIGURE_ARGS && |
pascal@14999 | 38 make && make DESTDIR=$DESTDIR install |
lufeng369@7378 | 39 } |
lufeng369@7378 | 40 |
lufeng369@7378 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7378 | 42 genpkg_rules() |
lufeng369@7378 | 43 { |
pascal@14999 | 44 mkdir -p $fs/usr |
pascal@14999 | 45 cp -a $install/usr $fs/ |
lufeng369@7378 | 46 } |