wok-next annotate stardict/receipt @ rev 20655
Up boxbackup (0.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 04 14:33:10 2018 +0300 (2018-05-04) |
parents | 757d032c55c7 |
children | d6378d455338 |
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" |
al@20534 | 9 WEB_SITE="http://code.google.com/p/stardict-3/" |
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 |
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 |
al@20534 | 17 compile_rules() { |
pascal@14999 | 18 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp |
pascal@14999 | 19 patch -p1 < $stuff/sigc++.patch || return 1 |
pascal@14999 | 20 patch -p1 < $stuff/stardict_gcc43.patch || return 1 |
lufeng369@7378 | 21 |
pascal@14999 | 22 ./configure \ |
pascal@14999 | 23 --disable-man \ |
pascal@14999 | 24 --disable-qqwry \ |
pascal@14999 | 25 --disable-gnome-support \ |
pascal@14999 | 26 --disable-schemas-install \ |
pascal@14999 | 27 --disable-espeak \ |
pascal@14999 | 28 --disable-gucharmap \ |
pascal@14999 | 29 --disable-festival \ |
pascal@14999 | 30 --disable-advertisement \ |
pascal@14999 | 31 --disable-updateinfo \ |
al@20534 | 32 $CONFIGURE_ARGS && |
al@20604 | 33 fix libtool && |
al@20534 | 34 make && |
al@20534 | 35 make DESTDIR=$DESTDIR install |
lufeng369@7378 | 36 } |
lufeng369@7378 | 37 |
al@20534 | 38 genpkg_rules() { |
al@20534 | 39 copy @std |
al@20534 | 40 DEPENDS="enchant libsigc++ gtk+ xorg-libSM" |
lufeng369@7378 | 41 } |