SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "stardict"

# SliTaz package receipt.

PACKAGE="stardict"
VERSION="3.0.1"
CATEGORY="utilities"
SHORT_DESC="A powerful international dictionary written in Gtk2"
MAINTAINER="lufeng369@gmail.com"
DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev libffi"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://stardict.sourceforge.net"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
 cd $src
 patch -p1 < $stuff/sigc++.patch || return 1
 patch -p1 < $stuff/stardict_gcc43.patch || return 1

 ./configure \
 --prefix=/usr \
 --disable-man \
 --disable-qqwry \
 --sysconfdir=/etc \
 --disable-gnome-support \
 --disable-schemas-install \
 --disable-espeak \
 --disable-gucharmap \
 --disable-festival \
 --disable-advertisement \
 --disable-updateinfo \
 $CONFIGURE_ARGS &&
 make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
 mkdir -p $fs/usr
 cp -a $_pkg/usr $fs/
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)