wok annotate aiksaurus/receipt @ rev 19657

Up tazpkg (938)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 27 12:28:54 2017 +0200 (2017-01-27)
parents affc0ad88f4c
children 3105f866bc3e
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"
pascal@15000 8 LICENSE="GPL2"
gokhlayeh@7032 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7032 10 WEB_SITE="http://aiksaurus.sourceforge.net/"
gokhlayeh@7032 11 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
gokhlayeh@7032 12
slaxemulator@10279 13 DEPENDS="gtk+ expat xorg-libXau glib"
slaxemulator@10279 14 BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
slaxemulator@10279 15
gokhlayeh@7032 16 # Rules to configure and make the package.
gokhlayeh@7032 17 compile_rules()
gokhlayeh@7032 18 {
gokhlayeh@7032 19 cd $src
pankso@9699 20 patch -Np0 -i $stuff/aiksaurus-gcc44.patch
slaxemulator@10279 21 ./configure --with-gtk $CONFIGURE_ARGS &&
slaxemulator@8366 22 make && make -j1 DESTDIR=$DESTDIR install
gokhlayeh@7032 23 }
gokhlayeh@7032 24
gokhlayeh@7032 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7032 26 genpkg_rules()
gokhlayeh@7032 27 {
gokhlayeh@7032 28 mkdir -p $fs/usr/lib
pascal@15000 29 cp -a $install/usr/bin $install/usr/share $fs/usr
pascal@15000 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
gokhlayeh@7032 31 }
gokhlayeh@7032 32