wok-current annotate orage/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 804a303f31dc |
children |
rev | line source |
---|---|
erjo@4144 | 1 # SliTaz package receipt. |
erjo@4144 | 2 |
erjo@4144 | 3 PACKAGE="orage" |
Hans-G?nter@21644 | 4 VERSION="4.12.1" |
erjo@4144 | 5 CATEGORY="office" |
Hans-G?nter@21644 | 6 TAGS="office" |
Hans-G?nter@21644 | 7 SHORT_DESC="Xfce calendar." |
erjo@4144 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15086 | 9 LICENSE="GPL2" |
pascal@22385 | 10 WEB_SITE="https://www.xfce.org/" |
Hans-G?nter@21644 | 11 |
erjo@4144 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21644 | 13 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@4144 | 14 |
Hans-G?nter@21644 | 15 DEPENDS="atk dbus cairo libgio libnotify libxfcegui4 pango popt xfce4-panel" |
Hans-G?nter@21644 | 16 BUILD_DEPENDS="dbus-dev gtk+-dev intltool libnotify-dev libxfcegui4-dev \ |
Hans-G?nter@21644 | 17 popt-dev xfce4-panel-dev" |
pascal@15086 | 18 |
pascal@24415 | 19 # What is the latest version available today? |
pascal@24415 | 20 current_version() |
pascal@24415 | 21 { |
pascal@24415 | 22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 25 } |
pascal@24415 | 26 |
erjo@4144 | 27 # Rules to configure and make the package. |
erjo@4144 | 28 compile_rules() |
erjo@4144 | 29 { |
Hans-G?nter@21644 | 30 ./configure \ |
Hans-G?nter@21644 | 31 --prefix=/usr \ |
Hans-G?nter@21644 | 32 --enable-dbus \ |
Hans-G?nter@21644 | 33 --enable-libnotify \ |
Hans-G?nter@21644 | 34 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4144 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21644 | 36 make && |
Hans-G?nter@21644 | 37 make DESTDIR=$DESTDIR install |
erjo@4144 | 38 } |
erjo@4144 | 39 |
erjo@4144 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4144 | 41 genpkg_rules() |
erjo@4144 | 42 { |
Hans-G?nter@21644 | 43 mkdir -p $fs/usr/share |
Hans-G?nter@21644 | 44 |
Hans-G?nter@21644 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21644 | 46 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21644 | 47 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21644 | 48 cp -a $install/usr/share/xfce4 $fs/usr/share |
Hans-G?nter@21644 | 49 cp -a $install/usr/share/orage $fs/usr/share |
Hans-G?nter@21644 | 50 cp -a $install/usr/share/orage $fs/usr/share |
Hans-G?nter@21644 | 51 cp -a $install/usr/share/dbus-1 $fs/usr/share |
Hans-G?nter@21644 | 52 cp -a $install/usr/share/icons $fs/usr/share |
erjo@4144 | 53 } |
erjo@4144 | 54 |