wok-current annotate aiksaurus/receipt @ rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents cbfb348cb173
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7032 9 WEB_SITE="http://aiksaurus.sourceforge.net/"
gokhlayeh@7032 10 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
gokhlayeh@7032 11
slaxemulator@10279 12 DEPENDS="gtk+ expat xorg-libXau glib"
slaxemulator@10279 13 BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
slaxemulator@10279 14
gokhlayeh@7032 15 # Rules to configure and make the package.
gokhlayeh@7032 16 compile_rules()
gokhlayeh@7032 17 {
gokhlayeh@7032 18 cd $src
pankso@9699 19 patch -Np0 -i $stuff/aiksaurus-gcc44.patch
slaxemulator@10279 20 ./configure --with-gtk $CONFIGURE_ARGS &&
slaxemulator@8366 21 make && make -j1 DESTDIR=$DESTDIR install
gokhlayeh@7032 22 }
gokhlayeh@7032 23
gokhlayeh@7032 24 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7032 25 genpkg_rules()
gokhlayeh@7032 26 {
gokhlayeh@7032 27 mkdir -p $fs/usr/lib
gokhlayeh@7032 28 cp -a $_pkg/usr/bin $_pkg/usr/share $fs/usr
gokhlayeh@7036 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
gokhlayeh@7032 30 }
gokhlayeh@7032 31