wok view ncmpc/receipt @ rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents 6e8b1bcb30e2
children 241fb98cab1c
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export CC=gcc-83
25 export CXX=g++-83
27 meson . _build --prefix=/usr &&
28 ninja -C _build &&
29 ninja -C _build install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/ncmpc
36 cp -a $install/usr/bin $fs/usr
37 }