wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="orage"
4 VERSION="4.12.1"
5 CATEGORY="office"
6 TAGS="office"
7 SHORT_DESC="Xfce calendar."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.xfce.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="atk dbus cairo libgio libnotify libxfcegui4 pango popt xfce4-panel"
16 BUILD_DEPENDS="dbus-dev gtk+-dev intltool libnotify-dev libxfcegui4-dev \
17 popt-dev xfce4-panel-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --enable-dbus \
33 --enable-libnotify \
34 --libexecdir=/usr/lib/$PACKAGE \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
48 cp -a $install/usr/share/xfce4 $fs/usr/share
49 cp -a $install/usr/share/orage $fs/usr/share
50 cp -a $install/usr/share/orage $fs/usr/share
51 cp -a $install/usr/share/dbus-1 $fs/usr/share
52 cp -a $install/usr/share/icons $fs/usr/share
53 }