wok view libshout/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents b7319995b37e
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="libshout"
4 VERSION="2.2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library for accessing a shoutcast/icecast server."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.icecast.org/"
11 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
13 DEPENDS="libvorbis libtheora speex"
14 BUILD_DEPENDS="libvorbis-dev libtheora-dev speex-dev libogg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS && make LDFLAGS+=-lspeex && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }