wok annotate aiksaurus/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 65ff25c4de90
children
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"
pascal@25460 10 WEB_SITE="https://aiksaurus.sourceforge.net/"
pascal@25465 11 WGET_URL="$SF_MIRROR/$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
pascal@24353 16 # What is the latest version available today?
pascal@24353 17 current_version()
pascal@24353 18 {
pascal@24353 19 wget -O - https://sourceforge.net/projects/aiksaurus/files/aiksaurus/ 2>/dev/null | \
pascal@25605 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24353 21 sed '/scope="row/!d;s|.*/aiksaurus/||;s|/.*||;q'
pascal@24353 22 }
pascal@24353 23
gokhlayeh@7032 24 # Rules to configure and make the package.
gokhlayeh@7032 25 compile_rules()
gokhlayeh@7032 26 {
gokhlayeh@7032 27 cd $src
pankso@9699 28 patch -Np0 -i $stuff/aiksaurus-gcc44.patch
slaxemulator@10279 29 ./configure --with-gtk $CONFIGURE_ARGS &&
slaxemulator@8366 30 make && make -j1 DESTDIR=$DESTDIR install
gokhlayeh@7032 31 }
gokhlayeh@7032 32
gokhlayeh@7032 33 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7032 34 genpkg_rules()
gokhlayeh@7032 35 {
gokhlayeh@7032 36 mkdir -p $fs/usr/lib
pascal@15000 37 cp -a $install/usr/bin $install/usr/share $fs/usr
pascal@15000 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
gokhlayeh@7032 39 }
gokhlayeh@7032 40