wok view xfmpc/receipt @ rev 25687
updated sc-im (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:51:51 2024 +0100 (7 months ago) |
parents | 17091bc7c301 |
children |
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="https://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 }