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