wok-4.x view sctp-tools/receipt @ rev 8243

Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Jan 28 23:10:49 2011 +0100 (2011-01-28)
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 }