wok-current annotate mpc/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (7 months ago)
parents 241fb98cab1c
children
rev   line source
paul@1376 1 # SliTaz package receipt.
paul@1376 2
paul@1376 3 PACKAGE="mpc"
Hans-G?nter@24925 4 VERSION="0.34"
paul@1376 5 CATEGORY="multimedia"
paul@1376 6 SHORT_DESC="A command line tool to interface MPD."
paul@1376 7 MAINTAINER="paul@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
Hans-G?nter@21478 9 WEB_SITE="https://www.musicpd.org/clients/mpc/"
Hans-G?nter@21478 10
pankso@16103 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21478 12 WGET_URL="https://www.musicpd.org/download/mpc/${VERSION%.*}/$TARBALL"
paul@1376 13
Hans-G?nter@23190 14 DEPENDS="libmpdclient mpd"
Hans-G?nter@21478 15 BUILD_DEPENDS="libmpdclient-dev meson"
Hans-G?nter@21478 16
Hans-G?nter@21478 17 HOST_ARCH="i486 arm"
pascal@15583 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24453 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 24 }
pascal@24453 25
paul@1376 26 compile_rules()
paul@1376 27 {
Hans-G?nter@24925 28 meson _build \
Hans-G?nter@24925 29 --prefix=/usr &&
Hans-G?nter@23190 30 ninja -C _build &&
Hans-G?nter@23190 31 ninja -C _build install
paul@1376 32 }
paul@1376 33
paul@1376 34 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1376 35 genpkg_rules()
paul@1376 36 {
Hans-G?nter@24925 37 cook_copy_folders bin
paul@1376 38 }