wok-6.x annotate aiksaurus/receipt @ rev 7032

Add: aiksaurus (1.2.1)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 23:24:00 2010 +0100 (2010-10-31)
parents
children 847e67e5a9fe
rev   line source
gokhlayeh@7032 1 # SliTaz package receipt.
gokhlayeh@7032 2
gokhlayeh@7032 3 PACKAGE="aiksaurus"
gokhlayeh@7032 4 VERSION="1.2.1"
gokhlayeh@7032 5 CATEGORY="system-tools"
gokhlayeh@7032 6 SHORT_DESC="A cross-platform, open-source thesaurus."
gokhlayeh@7032 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@7032 8 DEPENDS="gtk+ expat xorg-libXau glib"
gokhlayeh@7032 9 BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
gokhlayeh@7032 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7032 11 WEB_SITE="http://aiksaurus.sourceforge.net/"
gokhlayeh@7032 12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
gokhlayeh@7032 13
gokhlayeh@7032 14 # Rules to configure and make the package.
gokhlayeh@7032 15 compile_rules()
gokhlayeh@7032 16 {
gokhlayeh@7032 17 cd $src
gokhlayeh@7032 18 patch -Np0 -i ../stuff/aiksaurus-gcc44.patch
gokhlayeh@7032 19 ./configure \
gokhlayeh@7032 20 --prefix=/usr \
gokhlayeh@7032 21 --infodir=/usr/share/info \
gokhlayeh@7032 22 --mandir=/usr/share/man \
gokhlayeh@7032 23 --with-gtk \
gokhlayeh@7032 24 $CONFIGURE_ARGS &&
gokhlayeh@7032 25 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@7032 26 }
gokhlayeh@7032 27
gokhlayeh@7032 28 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7032 29 genpkg_rules()
gokhlayeh@7032 30 {
gokhlayeh@7032 31 mkdir -p $fs/usr/lib
gokhlayeh@7032 32 cp -a $_pkg/usr/bin $_pkg/usr/share $fs/usr
gokhlayeh@7032 33 cp -a $_pkg/usr/lib/*.so* $fs/usr
gokhlayeh@7032 34 }
gokhlayeh@7032 35