wok view ncmpc/receipt @ rev 23862

xvkbd: wget_url that works for cook
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 11:08:54 2020 -0400 (2020-06-19)
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 }