wok-6.x annotate mpc/receipt @ rev 21990
slitaz-tools: firewall.conf moved to /etc/slitaz in rev 769
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Oct 16 10:44:22 2019 -0400 (2019-10-16) |
parents | 6e8b1bcb30e2 |
children | 1246501a2275 |
rev | line source |
---|---|
paul@1376 | 1 # SliTaz package receipt. |
paul@1376 | 2 |
paul@1376 | 3 PACKAGE="mpc" |
Hans-G?nter@21478 | 4 VERSION="0.31" |
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 |
pascal@15583 | 14 DEPENDS="mpd libmpdclient" |
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 |
paul@1376 | 19 compile_rules() |
paul@1376 | 20 { |
Hans-G?nter@21478 | 21 meson . output --prefix=/usr |
Hans-G?nter@21478 | 22 ninja -C output |
Hans-G?nter@21478 | 23 ninja -C output install |
paul@1376 | 24 } |
paul@1376 | 25 |
paul@1376 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1376 | 27 genpkg_rules() |
paul@1376 | 28 { |
Hans-G?nter@21478 | 29 mkdir -p $fs/usr |
pascal@15583 | 30 cp -a $install/usr/bin $fs/usr |
paul@1376 | 31 } |