wok-next annotate stardict/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d6378d455338 |
children | d5aab818505e |
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 |
al@21017 | 14 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk2-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 |
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@20534 | 33 make DESTDIR=$DESTDIR install |
lufeng369@7378 | 34 } |
lufeng369@7378 | 35 |
al@20534 | 36 genpkg_rules() { |
al@20534 | 37 copy @std |
al@21017 | 38 DEPENDS="enchant libsigc++ gtk2 xorg-libSM" |
lufeng369@7378 | 39 } |