wok annotate aiksaurus/receipt @ rev 7891

Up: shell-fm (v0.7)
author Ben Arnold <ben@seawolfsanctuary.com>
date Sat Jan 08 10:38:58 2011 +0000 (2011-01-08)
parents 79077110c5c7
children 0b9117137f68
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@7036 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
gokhlayeh@7032 34 }
gokhlayeh@7032 35