wok view startup-notification/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents 124c3a7da04f
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="startup-notification"
4 VERSION="0.12"
5 CATEGORY="x-window"
6 SHORT_DESC="Startup notification protocol"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freedesktop.org/software/startup-notification/releases/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xcb-util xorg-libSM xorg-libX11"
15 BUILD_DEPENDS="util-linux-uuid-dev libxcb-dev xcb-util-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export lf_cv_sane_realloc=yes
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }