wok view ncmpc/receipt @ rev 25382
updated unison (2.51.5 -> 2.52.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:15:58 2022 +0100 (2022-07-30) |
parents | 5fb3a2c4afe4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncmpc"
4 VERSION="0.37"
5 CATEGORY="multimedia"
6 TAGS="music player"
7 SHORT_DESC="A ncurses MPD client."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.musicpd.org/clients/ncmpc/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.musicpd.org/download/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="gcc83-lib-base glib libboost libmpdclient mpd ncurses"
16 BUILD_DEPENDS="gcc83 glib-dev libboost-dev libmpdclient-dev meson
17 ncurses-dev ninja"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 meson . _build --prefix=/usr &&
35 ninja -C _build &&
36 ninja -C _build install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/ncmpc
43 cp -a $install/usr/bin $fs/usr
44 }