wok view osmo/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents cb67b4f8be05
children 29df00e1e19d
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="https://web.archive.org/web/20220504044950/https://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 }