wok annotate aiksaurus/receipt @ rev 25217
updated python-pdfkit (0.6.1 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:33:13 2022 +0100 (2022-07-13) |
parents | 380ffe05937a |
children | 7dd01dedad38 |
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 |
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@24353 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 |