wok-stable annotate stardict/receipt @ rev 11602
busybox/httpd: allow clear passwords
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 18 16:00:42 2012 +0100 (2012-01-18) |
parents | b7319995b37e |
children |
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" |
lufeng369@7378 | 7 MAINTAINER="lufeng369@gmail.com" |
lufeng369@7378 | 8 DEPENDS="enchant libsigc++ gtk+ xorg-libSM" |
pascal@11581 | 9 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \ |
pascal@11581 | 10 xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev libffi" |
lufeng369@7378 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
lufeng369@7378 | 12 WEB_SITE="http://stardict.sourceforge.net" |
lufeng369@7378 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
lufeng369@7378 | 14 |
lufeng369@7378 | 15 # Rules to configure and make the package. |
lufeng369@7378 | 16 compile_rules() |
lufeng369@7378 | 17 { |
lufeng369@7379 | 18 cd $src |
pascal@8974 | 19 patch -p1 < $stuff/sigc++.patch || return 1 |
pascal@8974 | 20 patch -p1 < $stuff/stardict_gcc43.patch || return 1 |
lufeng369@7378 | 21 |
lufeng369@7379 | 22 ./configure \ |
lufeng369@7379 | 23 --prefix=/usr \ |
lufeng369@7379 | 24 --disable-man \ |
lufeng369@7379 | 25 --disable-qqwry \ |
lufeng369@7379 | 26 --sysconfdir=/etc \ |
lufeng369@7379 | 27 --disable-gnome-support \ |
lufeng369@7379 | 28 --disable-schemas-install \ |
lufeng369@7379 | 29 --disable-espeak \ |
lufeng369@7379 | 30 --disable-gucharmap \ |
lufeng369@7379 | 31 --disable-festival \ |
lufeng369@7379 | 32 --disable-advertisement \ |
gokhlayeh@11573 | 33 --disable-updateinfo \ |
gokhlayeh@11573 | 34 $CONFIGURE_ARGS && |
lufeng369@7379 | 35 make && make DESTDIR=$PWD/_pkg install |
lufeng369@7378 | 36 } |
lufeng369@7378 | 37 |
lufeng369@7378 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7378 | 39 genpkg_rules() |
lufeng369@7378 | 40 { |
lufeng369@7379 | 41 mkdir -p $fs/usr |
lufeng369@7379 | 42 cp -a $_pkg/usr $fs/ |
lufeng369@7378 | 43 } |