wok view libmpdclient/receipt @ rev 15805
bash: prevent rm .bashrc error when removing bash
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jan 23 13:38:58 2014 +0000 (2014-01-23) |
parents | 4904e3d374a9 |
children | 1a0b3262dccf |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmpdclient"
4 VERSION="2.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="C & C++ API library for MPD."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
11 WGET_URL="$SF_MIRROR/musicpd/$VERSION/$TARBALL"
13 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }