wok annotate aiksaurus/receipt @ rev 8763
Add: patches for spidermonkey I forgot
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 21 04:45:59 2011 +0100 (2011-02-21) |
parents | 847e67e5a9fe |
children | cbfb348cb173 |
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 |
slaxemulator@8366 | 19 ./configure --with-gtk && |
slaxemulator@8366 | 20 make && make -j1 DESTDIR=$DESTDIR install |
gokhlayeh@7032 | 21 } |
gokhlayeh@7032 | 22 |
gokhlayeh@7032 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7032 | 24 genpkg_rules() |
gokhlayeh@7032 | 25 { |
gokhlayeh@7032 | 26 mkdir -p $fs/usr/lib |
gokhlayeh@7032 | 27 cp -a $_pkg/usr/bin $_pkg/usr/share $fs/usr |
gokhlayeh@7036 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
gokhlayeh@7032 | 29 } |
gokhlayeh@7032 | 30 |