wok-next annotate mpc/receipt @ rev 17726
glibc-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 21:54:05 2015 +0100 (2015-03-05) |
parents | bb009a6ef036 |
children | c4e53a39395a |
rev | line source |
---|---|
paul@1376 | 1 # SliTaz package receipt. |
paul@1376 | 2 |
paul@1376 | 3 PACKAGE="mpc" |
pankso@16103 | 4 VERSION="0.25" |
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" |
pankso@16103 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16103 | 10 WEB_SITE="http://www.musicpd.org/clients/mpc/" |
pankso@16103 | 11 WGET_URL="http://www.musicpd.org/download/mpc/0/$TARBALL" |
pankso@16103 | 12 HOST_ARCH="i486 arm" |
paul@1376 | 13 |
pascal@15583 | 14 DEPENDS="mpd libmpdclient" |
pascal@15583 | 15 BUILD_DEPENDS="libmpdclient-dev" |
pascal@15583 | 16 |
paul@1376 | 17 compile_rules() |
paul@1376 | 18 { |
pankso@16103 | 19 ./configure $CONFIGURE_ARGS |
pankso@16103 | 20 make && make install |
paul@1376 | 21 } |
paul@1376 | 22 |
paul@1376 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1376 | 24 genpkg_rules() |
paul@1376 | 25 { |
paul@1376 | 26 mkdir -p $fs/usr/share/mpc |
pascal@15583 | 27 cp -a $install/usr/bin $fs/usr |
paul@1376 | 28 } |