wok annotate xfmpc/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 17091bc7c301
children
rev   line source
erjo@4869 1 # SliTaz package receipt.
erjo@4869 2
erjo@4869 3 PACKAGE="xfmpc"
pascal@15284 4 VERSION="0.2.2"
erjo@4869 5 CATEGORY="x-window"
erjo@4869 6 SHORT_DESC="MPD client for Xfce."
erjo@4869 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4869 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfmpc"
pascal@24972 11 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4869 12
erjo@9880 13 DEPENDS="libxfcegui4 libxfce4util libmpd startup-notification"
erjo@9880 14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libmpd-dev intltool \
pascal@19744 15 libxfce4ui-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \
pascal@19744 16 xcb-util-dev"
erjo@9880 17
pascal@24415 18 # What is the latest version available today?
pascal@24415 19 current_version()
pascal@24415 20 {
pascal@24415 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
erjo@4869 26 # Rules to configure and make the package.
erjo@4869 27 compile_rules()
erjo@4869 28 {
erjo@4869 29 cd $src
erjo@4869 30 ./configure \
erjo@4869 31 --prefix=/usr \
erjo@4869 32 --infodir=/usr/share/info \
erjo@4869 33 --mandir=/usr/share/man \
erjo@4869 34 $CONFIGURE_ARGS &&
erjo@9880 35 make && make DESTDIR=$DESTDIR install
erjo@4869 36 }
erjo@4869 37
erjo@4869 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4869 39 genpkg_rules()
erjo@4869 40 {
erjo@4869 41 mkdir -p $fs/usr
pascal@15000 42 cp -a $install/usr/bin $fs/usr
erjo@4869 43 }
erjo@4869 44