wok view sctp-tools/receipt @ rev 9699

Be less entousiast and sed only 13 pkgs :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 00:40:27 2011 +0200 (2011-05-08)
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 }