wok-next annotate stardict/receipt @ rev 21332

updated libvirt (4.3.0 -> 5.10.0)
author Hans-G?nter Theisgen
date Thu Dec 12 17:26:25 2019 +0100 (2019-12-12)
parents 5669e8b3be70
children 956bc167d0e6
rev   line source
al@20534 1 # SliTaz package receipt v2.
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"
pascal@21145 9 WEB_SITE="http://stardict-4.sourceforge.net/"
al@20534 10
lufeng369@7378 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@12620 12 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
lufeng369@7378 13
al@21017 14 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk2-dev \
al@21078 15 libsm-dev zlib-dev util-linux-uuid-dev libffi"
pascal@14999 16
al@20534 17 compile_rules() {
pascal@14999 18 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
lufeng369@7378 19
pascal@14999 20 ./configure \
pascal@14999 21 --disable-man \
pascal@14999 22 --disable-qqwry \
pascal@14999 23 --disable-gnome-support \
pascal@14999 24 --disable-schemas-install \
pascal@14999 25 --disable-espeak \
pascal@14999 26 --disable-gucharmap \
pascal@14999 27 --disable-festival \
pascal@14999 28 --disable-advertisement \
pascal@14999 29 --disable-updateinfo \
al@20534 30 $CONFIGURE_ARGS &&
al@20604 31 fix libtool &&
al@20534 32 make &&
al@21020 33 make DESTDIR=$install install
lufeng369@7378 34 }
lufeng369@7378 35
al@20534 36 genpkg_rules() {
al@20534 37 copy @std
al@21078 38 DEPENDS="enchant libsigc++ gtk2 libsm"
lufeng369@7378 39 }