[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: stardict-3.0.1(星际译王)
- From: 燃?的?密? <lufeng369@xxxxxxxxx>
- Date: Thu, 25 Nov 2010 02:39:57 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Cv/RLV8nzBScpHeih83d6ccT2s43rHTfuVCPV5yu8Yc=; b=iH44xX/7Z1gUssM3uBZpCp/92Wm90vin/Ab3zPbLQmqNq06skuBGDvHva+y+NcHoNf otGaUMK1OHl9tCy4W8O0yz7hao/KhTZYGkDbRbSe5y1gZz6BBUzRQKLirEw4btI7fgJz g7grsD5ee5wyZ/j2bHC6VTUjH4dhlFEGOsW+k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rrQ/AUVweODf4b1wG5ejBcmRL5WHPhirqC3yOxuzbx3YKq1wq/WEP/5jktO0JzgcoY d2ByL9Pyw6NuSq9Wb6qQqoy20bVgAaGvN4R0oYY+m6M1uaQZaQJyP5vLTW3KSXbTOgDU IsPCubAnEBJmT7zGs5Tv2EDC5qTJbYay8qrrg=
# SliTaz package receipt.
PACKAGE="stardict"
VERSION="3.0.1"
CATEGORY="utilities"
SHORT_DESC="A powerful international dictionary written in Gtk2"
MAINTAINER="lufeng369@xxxxxxxxx"
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"
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()
{
mkdir stuff
# wget http://repos.archlinux.org/wsvn/packages/stardict/repos/extra-i686/gtk_gthread_fixes.patch
wget -O stuff/sigc++.patch http://repos.archlinux.org/wsvn/packages/stardict/repos/extra-i686/sigc++.patch?op=dl
wget -O stuff/stardict_gcc43.patch http://repos.archlinux.org/wsvn/packages/stardict/repos/extra-i686/stardict_gcc43.patch?op=dl
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 &&
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/
}