wok annotate mpc/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | 1246501a2275 |
children | 26718eedbc22 |
rev | line source |
---|---|
paul@1376 | 1 # SliTaz package receipt. |
paul@1376 | 2 |
paul@1376 | 3 PACKAGE="mpc" |
Hans-G?nter@23190 | 4 VERSION="0.33" |
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@23190 | 28 meson . _build --prefix=/usr && |
Hans-G?nter@23190 | 29 ninja -C _build && |
Hans-G?nter@23190 | 30 ninja -C _build install |
paul@1376 | 31 } |
paul@1376 | 32 |
paul@1376 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1376 | 34 genpkg_rules() |
paul@1376 | 35 { |
Hans-G?nter@21478 | 36 mkdir -p $fs/usr |
Hans-G?nter@23190 | 37 cp -a $install/usr/bin $fs/usr |
paul@1376 | 38 } |