wok-6.x diff mpc/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | bb009a6ef036 |
children | 6e8b1bcb30e2 |
line diff
1.1 --- a/mpc/receipt Sat Nov 30 15:44:51 2013 +0000 1.2 +++ b/mpc/receipt Fri Jan 30 10:17:37 2015 +0100 1.3 @@ -1,25 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mpc" 1.7 -VERSION="0.20" 1.8 +VERSION="0.25" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="A command line tool to interface MPD." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="http://www.musicpd.org/mpc.shtml" 1.15 -WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 +WEB_SITE="http://www.musicpd.org/clients/mpc/" 1.18 +WGET_URL="http://www.musicpd.org/download/mpc/0/$TARBALL" 1.19 +HOST_ARCH="i486 arm" 1.20 1.21 DEPENDS="mpd libmpdclient" 1.22 BUILD_DEPENDS="libmpdclient-dev" 1.23 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.29 - make 1.30 - make DESTDIR=$DESTDIR install 1.31 + ./configure $CONFIGURE_ARGS 1.32 + make && make install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 @@ -27,6 +25,4 @@ 1.37 { 1.38 mkdir -p $fs/usr/share/mpc 1.39 cp -a $install/usr/bin $fs/usr 1.40 - cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share 1.41 } 1.42 -