wok view osmo/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-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 }