wok annotate stardict/receipt @ rev 24073
ocaml: disable-force-safe-string
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 06:56:08 2021 +0000 (2021-07-08) |
parents | 20661c276bcf |
children | 370da83187ab |
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" |
Hans-G?nter@22795 | 6 SHORT_DESC="A powerful international dictionary written in Gtk2." |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@22795 | 9 WEB_SITE="http://stardict-4.sourceforge.net/" |
Hans-G?nter@22795 | 10 |
lufeng369@7378 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12620 | 12 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL" |
lufeng369@7378 | 13 |
Hans-G?nter@22795 | 14 DEPENDS="enchant gtk+ libsigc++ xorg-libSM" |
Hans-G?nter@22795 | 15 BUILD_DEPENDS="bzip2 enchant-dev gtk+-dev intltool libffi libsigc++-dev \ |
Hans-G?nter@22795 | 16 popt util-linux-uuid-dev xorg-libSM-dev zlib-dev" |
pascal@14999 | 17 |
lufeng369@7378 | 18 # Rules to configure and make the package. |
lufeng369@7378 | 19 compile_rules() |
lufeng369@7378 | 20 { |
Hans-G?nter@22795 | 21 sed -i 's/<vector>/&\n#include <stdio.h>/' \ |
Hans-G?nter@22795 | 22 stardict-plugins/stardict-wordnet-plugin/scene.hpp |
pascal@14999 | 23 patch -p1 < $stuff/sigc++.patch || return 1 |
pascal@14999 | 24 patch -p1 < $stuff/stardict_gcc43.patch || return 1 |
lufeng369@7378 | 25 |
Hans-G?nter@22795 | 26 ./configure \ |
Hans-G?nter@22795 | 27 --prefix=/usr \ |
Hans-G?nter@22795 | 28 --disable-man \ |
Hans-G?nter@22795 | 29 --disable-qqwry \ |
Hans-G?nter@22795 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22795 | 31 --disable-gnome-support \ |
Hans-G?nter@22795 | 32 --disable-schemas-install \ |
Hans-G?nter@22795 | 33 --disable-espeak \ |
Hans-G?nter@22795 | 34 --disable-gucharmap \ |
Hans-G?nter@22795 | 35 --disable-festival \ |
Hans-G?nter@22795 | 36 --disable-advertisement \ |
Hans-G?nter@22795 | 37 --disable-updateinfo \ |
Hans-G?nter@22795 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@22795 | 39 make && |
Hans-G?nter@22795 | 40 make DESTDIR=$DESTDIR install |
lufeng369@7378 | 41 } |
lufeng369@7378 | 42 |
lufeng369@7378 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7378 | 44 genpkg_rules() |
lufeng369@7378 | 45 { |
pascal@14999 | 46 mkdir -p $fs/usr |
Hans-G?nter@22795 | 47 cp -a $install/usr $fs |
lufeng369@7378 | 48 } |