wok-current view aiksaurus/receipt @ rev 25429
updated xbindkeys (1.8.6 -> 1.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 17:19:07 2022 +0100 (2022-08-18) |
parents | 380ffe05937a |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aiksaurus"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A cross-platform, open-source thesaurus."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://aiksaurus.sourceforge.net/"
11 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ expat xorg-libXau glib"
14 BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/aiksaurus/files/aiksaurus/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/aiksaurus/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 patch -Np0 -i $stuff/aiksaurus-gcc44.patch
29 ./configure --with-gtk $CONFIGURE_ARGS &&
30 make && make -j1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $install/usr/share $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }