[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: stardict-3.0.1(星际译王)
- From: 燃?的?密? <lufeng369@xxxxxxxxx>
- Date: Thu, 25 Nov 2010 15:45:39 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8yWozU/guxavZPUbJnGFjSzg8zOP7idZO3o/K/LsoF4=; b=TC4EDPivvsga2LKSs+pUu4pbUIJT7swSCDykmm8cn2HLJbJc/QDvdwR6uT6FO1T+8F xlrrPvTHnUTbvSM/Q4iW6Phmjqw4J/3ep0UKaLzsAWXbJvJKtIHJB1Uy40pSmyKIw3pn 9SYjXQ7iZ4BjYOPpnuldgoeLgnZpO8H3wvP14=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DK7WRq7i3scncX5KcQoZjyqmzuotlZVD0wqr8Lvz0sEfpN+lOUA2+b90CWtJ9N4TQg U3dfOdc801sUN9+J4ezWfwoojL9Nw5bQF5fZr4VJPBhIFc3V2rksNZvrtoYfvGv5CA0H njO6UWWhb890cfL7ebmqLknKHvFTkE8yyoOio=
I have been pushed this receipt to repo
2010/11/25, 燃?的?密? <lufeng369@xxxxxxxxx>:
> # 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/
> }
>
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/