wok view sctp-tools/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents
children 8d6f480bf664
line source
1 # SliTaz package receipt.
3 PACKAGE="sctp-tools"
4 VERSION="1.0.11"
5 CATEGORY="network"
6 SHORT_DESC="Stream Control Transmission Protocol tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="lksctp-tools"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://lksctp.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
12 DEPENDS="libsctp"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ln -s $src $PACKAGE-$VERSION
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/lksctp-tools
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/lksctp-tools/libwithsctp.so* \
32 $fs/usr/lib/lksctp-tools
33 }