wok-4.x view sctp-tools/receipt @ rev 9452
Up: iron-linux (10.0.650.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Apr 02 19:44:29 2011 +0000 (2011-04-02) |
parents | |
children |
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 }