wok-6.x view nbs/receipt @ rev 12075
libarchive: fix make install
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 05:31:56 2012 +0100 (2012-03-09) |
parents | 23b7c2a99749 |
children | 3765f181a6d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nbs"
4 VERSION="2007svn"
5 CATEGORY="network"
6 SHORT_DESC="Network Broadcast Sound."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="subversion"
9 WEB_SITE="http://svn.digium.com/view/nbs"
10 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 patch -p0 < $stuff/Makefile.u &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1
30 }