wok annotate ncmpc/receipt @ rev 23706
updated tmux (2.9 -> 3.0a)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 14:11:44 2020 +0100 (2020-04-28) |
parents | 6e8b1bcb30e2 |
children | 241fb98cab1c |
rev | line source |
---|---|
paul@1377 | 1 # SliTaz package receipt. |
paul@1377 | 2 |
paul@1377 | 3 PACKAGE="ncmpc" |
Hans-G?nter@23230 | 4 VERSION="0.37" |
paul@1377 | 5 CATEGORY="multimedia" |
Hans-G?nter@23230 | 6 TAGS="music player" |
paul@1377 | 7 SHORT_DESC="A ncurses MPD client." |
paul@1377 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15001 | 9 LICENSE="GPL2" |
pascal@20671 | 10 WEB_SITE="https://www.musicpd.org/clients/ncmpc/" |
Hans-G?nter@23230 | 11 |
Hans-G?nter@23230 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@23230 | 13 WGET_URL="https://www.musicpd.org/download/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@23230 | 14 |
Hans-G?nter@23230 | 15 DEPENDS="gcc83-lib-base glib libboost libmpdclient mpd ncurses" |
Hans-G?nter@23230 | 16 BUILD_DEPENDS="gcc83 glib-dev libboost-dev libmpdclient-dev meson |
Hans-G?nter@23230 | 17 ncurses-dev ninja" |
Hans-G?nter@23230 | 18 |
pankso@16103 | 19 HOST_ARCH="i486 arm" |
paul@1377 | 20 |
paul@1377 | 21 # Rules to configure and make the package. |
paul@1377 | 22 compile_rules() |
paul@1377 | 23 { |
Hans-G?nter@23230 | 24 export CC=gcc-83 |
Hans-G?nter@23230 | 25 export CXX=g++-83 |
Hans-G?nter@23230 | 26 |
Hans-G?nter@23230 | 27 meson . _build --prefix=/usr && |
Hans-G?nter@23230 | 28 ninja -C _build && |
Hans-G?nter@23230 | 29 ninja -C _build install |
paul@1377 | 30 } |
paul@1377 | 31 |
paul@1377 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1377 | 33 genpkg_rules() |
paul@1377 | 34 { |
paul@1377 | 35 mkdir -p $fs/usr/share/ncmpc |
Hans-G?nter@23230 | 36 cp -a $install/usr/bin $fs/usr |
paul@1377 | 37 } |
paul@1377 | 38 |