wok view osmo/receipt @ rev 24419
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 11:14:46 2022 +0000 (2022-02-11) |
parents | 3760e697c98f |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="osmo"
4 VERSION="0.2.12"
5 CATEGORY="office"
6 SHORT_DESC="A handy personal organizer using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://clayo.org/osmo/"
11 WGET_URL="$SF_MIRROR/$PACKAGE-pim/$TARBALL"
12 TAGS="office"
14 DEPENDS="gtk+ libxml2 libwebkit xorg-libXdamage libnotify libical"
15 BUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev \
16 libical-dev gettext-tools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/osmo-pim/files/osmo-pim/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/osmo-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's/gtkspell-/gtkDISABLEDspell-/' configure
30 sed -i 's|test \$\$po -nt \$@|true|' po/Makefile*
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }