wok view xfmpc/receipt @ rev 24779

thttpd: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 18:08:11 2022 +0000 (2022-03-19)
parents 6e8b1bcb30e2
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="xfmpc"
4 VERSION="0.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="MPD client for Xfce."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfmpc"
11 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfcegui4 libxfce4util libmpd startup-notification"
14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libmpd-dev intltool \
15 libxfce4ui-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \
16 xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make && 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 }